Skip to content

Enable Checksum Offloading for NEON vector

Feifei Wang dpdk-dev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

1. update the commit message title to align the design (Wang, Haiyue)
2. make the commit message more descriptive and move the test results to the cover letter (Wang, Haiyue)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net/ixgbe: add new flag of stripped VLAN for NEON vectordrivers/net/ixgbe/ixgbe_rxtx_vec_neon.c+23 -131 reply
2/4net/ixgbe: support bad checksum flag for NEON vectordrivers/net/ixgbe/ixgbe_rxtx_vec_neon.c+36 -111 reply
3/4net/ixgbe: support good checksum flag for NEON vectordrivers/net/ixgbe/ixgbe_rxtx_vec_neon.c+25 -121 reply
4/4net/ixgbe: enable IXGBE NEON vector when need to checksumdrivers/net/ixgbe/ixgbe_rxtx_vec_neon.c+0 -61 reply

Reviews trailers per patch

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

PatchRuifeng WangHaiyue Wang
1/4R-b A-b
2/4R-b A-b
3/4R-b A-b
4/4R-b A-b

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] Enable Checksum Offloading for NEON vector

This patch series are mainly to enable checksum offloading for IXGBE NEON vector PMD, including good and bad checksum flags. In the meanwhile, the first patch enable VLAN stripping flag for Arm.
Following are the test results for the patches:

NICs: 82599(igb)
Driver: ixgbe(vector)
$:./app/dpdk-testpmd -c 0x3 -w 0002:f9:00.0 -- -i --port-topology=chained test-pmd> set fwd rxonly
test-pmd> set verbose 1
test-pmd> start

With Patch a:
enable vlan stripping:
src=00:00:00:00:00:02 - dst=00:00:00:00:00:01 - type=0x0800 - length=70 - nb_segs=1 - VLAN tci=0x1
ol_flags: PKT_RX_VLAN PKT_RX_VLAN_STRIPPED

With Patch b:
Packet: IPv4_checksum = 0xee && UDP_checksum = 0xee src=00:00:00:00:00:02 - dst=00:00:00:00:00:01 - type=0x0800 - length=70 - nb_segs=1
ol_flags: PKT_RX_L4_CKSUM_BAD PKT_RX_IP_CKSUM_BAD

With Patch c:
Packet: IPv4_checksum = correct value && UDP_checksum = correct value
ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD

v2:
1. update the commit message title to align the design (Wang, Haiyue)
2. make the commit message more descriptive and move the test results to the cover letter (Wang, Haiyue)

Feifei Wang (4):
a). net/ixgbe: add new flag of stripped VLAN for NEON vector b). net/ixgbe: support bad checksum flag for NEON vector c). net/ixgbe: support good checksum flag for NEON vector d). net/ixgbe: enable IXGBE NEON vector when need to checksum

 drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 94 ++++++++++++++++++-------
 1 file changed, 68 insertions(+), 26 deletions(-)
Signature · 1 line
2.17.1