[dpdk-dev] [PATCH v2 0/4] Offload flags fixes
David Marchand
david.marchand at redhat.com
Thu Apr 29 10:04:34 CEST 2021
The important part is the last patch on vhost handling of offloading
requests coming from a virtio guest interface.
The rest are small fixes that I accumulated while reviewing the mbuf
offload flags.
On this last patch, it has the potential of breaking existing
applications using the vhost library (OVS being impacted).
I did not mark it for backport.
Changes since v1:
- dropped patch on net/tap,
- added missing bits in example/vhost,
- relaxed checks on VIRTIO_NET_HDR_GSO_ECN and VIRTIO_NET_HDR_GSO_UDP,
--
David Marchand
David Marchand (4):
mbuf: mark old offload flag as deprecated
net/virtio: do not touch Tx offload flags
net/virtio: refactor Tx offload helper
vhost: fix offload flags in Rx path
drivers/net/virtio/virtio_rxtx.c | 7 +-
drivers/net/virtio/virtio_rxtx_packed_avx.h | 2 +-
drivers/net/virtio/virtio_rxtx_packed_neon.h | 2 +-
drivers/net/virtio/virtqueue.h | 81 +++++------
examples/vhost/main.c | 42 +++---
lib/mbuf/rte_mbuf_core.h | 3 +-
lib/vhost/virtio_net.c | 139 ++++++++-----------
7 files changed, 124 insertions(+), 152 deletions(-)
--
2.23.0
More information about the dev
mailing list