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

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Mon Jul 19 21:38:28 CEST 2021


On 7/19/21 10:15 PM, Andrew Rybchenko wrote:
> From: Ivan Ilchenko <ivan.ilchenko at oktetlabs.ru>
> 
> 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")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ivan Ilchenko <ivan.ilchenko at oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Sorry, self NACK. The patch has problem with MTU set when not all
queues are setup. Will send v3 tomorrow.


More information about the dev mailing list