Skip to content

Offload flags fixes

David Marchand dpdk-dev 4 versions – Applied

Status from this message: Applied to dpdk-next-virtio/main.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 6 repliesApplied
  2. v34 patches 4 repliesApplied
  3. v24 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches22 repliesSuperseded

Changes in v4 from the cover letter

- patch 1 went through the main repo,
- rebased on next-virtio,

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3net/virtio: do not touch Tx offload flagsdrivers/net/virtio/virtqueue.h+4 -20 replies
2/3net/virtio: refactor Tx offload helperdrivers/net/virtio/virtio_rxtx.c drivers/net/virtio/virtio_rxtx_packed_avx.h drivers/net/virtio/virtio_rxtx_packed_neon.h +1 more+44 -500 replies
3/3vhost: fix offload flags in Rx pathdoc/guides/prog_guide/vhost_lib.rst doc/guides/rel_notes/release_21_05.rst drivers/net/vhost/rte_eth_vhost.c +6 more+222 -535 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMaxime CoquelinFlavio LeitnerRuifeng Wang
1/3R-b A-b
2/3R-b R-b R-b
3/3R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [dpdk-dev] [PATCH v4 0/3] Offload flags fixes

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 v3:
- patch 1 went through the main repo,
- rebased on next-virtio,

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,

Signature · 24 lines
David Marchand

David Marchand (3):
  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/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 ++++++++++++++++---
 13 files changed, 266 insertions(+), 101 deletions(-)

-- 
2.23.0