Re: [dpdk-dev] [PATCH v3] net/virtio: set offload flag for jumbo frames

2019-01-31 Thread Maxime Coquelin
On 1/31/19 10:17 AM, Jens Freimann wrote: Port configuration fails because offload flags don't match the expected value when max-pkt-len is set to a value that should enable receive port offloading but doesn't. There are two cases to consider: 1. VIRTIO_NET_F_MTU is set. Then we need to chec

[dpdk-dev] [PATCH v3] net/virtio: set offload flag for jumbo frames

2019-01-31 Thread Jens Freimann
Port configuration fails because offload flags don't match the expected value when max-pkt-len is set to a value that should enable receive port offloading but doesn't. There are two cases to consider: 1. VIRTIO_NET_F_MTU is set. Then we need to check if the requested max-pkt-len fits into the