On 7/6/21 4:14 PM, Andrew Rybchenko wrote:
> From: Ivan Ilchenko <ivan.ilche...@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: sta...@dpdk.org
>
> Signed-off-by: Ivan Ilchenko <ivan.ilche...@oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>
> ---
> drivers/net/virtio/virtio.h | 2 +
> drivers/net/virtio/virtio_ethdev.c | 63 ++++++++++++++++++++++++++++++
> drivers/net/virtio/virtio_ethdev.h | 5 +++
> drivers/net/virtio/virtio_rxtx.c | 10 +++++
> 4 files changed, 80 insertions(+)
>
Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>
Thanks,
Maxime