Re: [dpdk-dev] [PATCH v3] net/virtio: fix Rx scatter offload

2021-07-22 Thread Maxime Coquelin
On 7/21/21 11:29 AM, Andrew Rybchenko wrote: > On 7/20/21 7:19 PM, Maxime Coquelin wrote: >> >> >> On 7/20/21 9:54 AM, Andrew Rybchenko wrote: >>> From: Ivan Ilchenko >>> >>> Report Rx scatter offload capability depending on >>> VIRTIO_NET_F_MRG_RXBUF. >>> >>> If Rx scatter is not requested, en

Re: [dpdk-dev] [PATCH v3] net/virtio: fix Rx scatter offload

2021-07-21 Thread Andrew Rybchenko
On 7/20/21 7:19 PM, Maxime Coquelin wrote: On 7/20/21 9:54 AM, Andrew Rybchenko wrote: From: Ivan Ilchenko Report Rx scatter offload capability depending on VIRTIO_NET_F_MRG_RXBUF. If Rx scatter is not requested, ensure that provided Rx buffers on each Rx queue are big enough to fit Rx pack

Re: [dpdk-dev] [PATCH v3] net/virtio: fix Rx scatter offload

2021-07-20 Thread Xia, Chenbo
> -Original Message- > From: Andrew Rybchenko > Sent: Tuesday, July 20, 2021 3:55 PM > To: Maxime Coquelin ; Xia, Chenbo > ; Andrew Rybchenko ; Ananyev, > Konstantin ; Shahaf Shuler > > Cc: dev@dpdk.org; Ivan Ilchenko ; sta...@dpdk.org > Subject: [PATCH v3] net/virtio: fix Rx scatter off

Re: [dpdk-dev] [PATCH v3] net/virtio: fix Rx scatter offload

2021-07-20 Thread Maxime Coquelin
On 7/20/21 9:54 AM, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > Report Rx scatter offload capability depending on VIRTIO_NET_F_MRG_RXBUF. > > If Rx scatter is not requested, ensure that provided Rx buffers on > each Rx queue are big enough to fit Rx packets up to configured MTU. > > Fi

[dpdk-dev] [PATCH v3] net/virtio: fix Rx scatter offload

2021-07-20 Thread Andrew Rybchenko
From: Ivan Ilchenko Report Rx scatter offload capability depending on VIRTIO_NET_F_MRG_RXBUF. If Rx scatter is not requested, ensure that provided Rx buffers on each Rx queue are big enough to fit Rx packets up to configured MTU. Fixes: ce17eddefc20 ("ethdev: introduce Rx queue offloads API") C