[dpdk-dev] [PATCH 0/5] Offload flags fixes

David Marchand david.marchand at redhat.com
Thu Apr 1 11:52:38 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, but I am having second thoughts.

The vhost example has not been updated yet, as I wanted to send this
series first to get feedback before looking more into the example code.


-- 
David Marchand

David Marchand (5):
  mbuf: mark old offload flag as deprecated
  net/tap: do not touch Tx offload flags
  net/virtio: do not touch Tx offload flags
  net/virtio: refactor Tx offload helper
  vhost: fix offload flags in Rx path

 drivers/net/tap/rte_eth_tap.c                |  17 ++-
 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                        |   6 +
 lib/librte_mbuf/rte_mbuf_core.h              |   3 +-
 lib/librte_vhost/virtio_net.c                | 148 ++++++++-----------
 8 files changed, 123 insertions(+), 143 deletions(-)

-- 
2.23.0



More information about the dev mailing list