Skip to content

net/bnxt: fix outer checksum status

Lance Richardson dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/bnxt: make offload flags mapping per-ringdrivers/net/bnxt/bnxt_rxr.c drivers/net/bnxt/bnxt_rxr.h drivers/net/bnxt/bnxt_rxtx_vec_neon.c +1 more+29 -370 replies
2/2net/bnxt: fix ol_flags checksum statusdrivers/net/bnxt/bnxt_rxr.c drivers/net/bnxt/bnxt_rxr.h drivers/net/bnxt/bnxt_rxtx_vec_neon.c +1 more+80 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH 0/2] net/bnxt: fix outer checksum status

From: Lance Richardson <[email protected]>

Receive checksum offload status flags in the mbuf ol_flags field should include inner/outer status only when outer checksum offload is enabled, which currently isn't the case for the bnxt PMD. Fix by using a hw-to-ol_flags mapping table that is constructed based on configured offloads.

Lance Richardson (2):
net/bnxt: make offload flags mapping per-ring net/bnxt: fix ol_flags checksum status

 drivers/net/bnxt/bnxt_rxr.c           | 113 +++++++++++++++++---------
 drivers/net/bnxt/bnxt_rxr.h           |  12 +--
 drivers/net/bnxt/bnxt_rxtx_vec_neon.c |  16 ++--
 drivers/net/bnxt/bnxt_rxtx_vec_sse.c  |  16 ++--
 4 files changed, 104 insertions(+), 53 deletions(-)
Signature · 1 line
2.25.1