[dpdk-dev] [PATCH v3 0/4] Offload flags fixes
David Marchand
david.marchand at redhat.com
Mon May 3 15:26:42 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 v2:
- kept behavior untouched (to avoid breaking ABI) and introduced a new
flag to select the new behavior,
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
doc/guides/prog_guide/vhost_lib.rst | 12 ++
doc/guides/rel_notes/release_21_05.rst | 6 +
drivers/net/vhost/rte_eth_vhost.c | 2 +-
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 | 44 ++---
lib/mbuf/rte_mbuf_core.h | 3 +-
lib/vhost/rte_vhost.h | 1 +
lib/vhost/socket.c | 5 +-
lib/vhost/vhost.c | 6 +-
lib/vhost/vhost.h | 14 +-
lib/vhost/virtio_net.c | 185 ++++++++++++++++---
14 files changed, 268 insertions(+), 102 deletions(-)
--
2.23.0
More information about the dev
mailing list