Skip to content

net/tap: fix Rx cksum

Olivier Matz dpdk-dev 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v14 patches 17 repliesSuperseded

Changes in v2 from the cover letter

* clarify why RTE_PTYPE_L3_IPV4_EXT_UNKNOWN cannot happen in tap_verify_csum() (patch 1)
* align style of rte_ipv6_udptcp_cksum_verify() to rte_ipv4_udptcp_cksum_verify() (patch 3)
* clarify comment above rte_ipv4_udptcp_cksum_verify() and rte_ipv6_udptcp_cksum_verify() (patch 3)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4net/tap: fix Rx cksum flags on IP options packetsdrivers/net/tap/rte_eth_tap.c+7 -30 replies
2/4net/tap: fix Rx cksum flags on TCP packetsdrivers/net/tap/rte_eth_tap.c+7 -50 replies
3/4net: introduce functions to verify L4 checksumsdrivers/net/tap/rte_eth_tap.c lib/net/rte_ip.h+107 -270 replies
4/4test/cksum: new test for L3/L4 checksum APIMAINTAINERS app/test/autotest_data.py app/test/meson.build +1 more+280 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchAndrew RybchenkoMorten Brørup
SeriesSeries-reviewed-by
1/4
2/4A-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/4] net/tap: fix Rx cksum

This patchset fixes the Rx checksum flags in net/tap driver. The first two patches are the effective fixes.

The last 2 patches introduce a new checksum API to verify a L4 checksum and its unt test, in order to simplify the net/tap code, or any other code that has the same needs.

v2:

* clarify why RTE_PTYPE_L3_IPV4_EXT_UNKNOWN cannot happen in tap_verify_csum() (patch 1)
* align style of rte_ipv6_udptcp_cksum_verify() to rte_ipv4_udptcp_cksum_verify() (patch 3)
* clarify comment above rte_ipv4_udptcp_cksum_verify() and rte_ipv6_udptcp_cksum_verify() (patch 3)

Olivier Matz (4):
net/tap: fix Rx cksum flags on IP options packets net/tap: fix Rx cksum flags on TCP packets
net: introduce functions to verify L4 checksums test/cksum: new test for L3/L4 checksum API

 MAINTAINERS                   |   1 +
 app/test/autotest_data.py     |   6 +
 app/test/meson.build          |   2 +
 app/test/test_cksum.c         | 271 ++++++++++++++++++++++++++++++++++
 drivers/net/tap/rte_eth_tap.c |  23 ++-
 lib/net/rte_ip.h              | 127 +++++++++++++---
 6 files changed, 398 insertions(+), 32 deletions(-)
 create mode 100644 app/test/test_cksum.c
Signature · 1 line
2.29.2