This series aims at fixing outer UDP checksum for Intel nics (i40e and ice). While reviewing the API, I found out some discrepancies in the mbuf documentation that I tried to fix. I also noticed that the net/hns3 is really similar in its internals and aligned its implementation.
As I touched testpmd csumonly engine, this series may break other vendors outer offloads, so please vendors, review and test this ASAP. Thanks. -- David Marchand Changes since v1: - fix outer udp checksum for real (*sigh*), David Marchand (8): net/ice: fix check for outer UDP checksum offload net/ice: enhance debug when HW fails to transmit mbuf: fix Tx checksum offload examples app/testpmd: fix outer IP checksum offload net: fix outer UDP checksum in Intel prepare helper net/i40e: fix outer UDP checksum offload for X710 net/iavf: remove outer UDP checksum offload for X710 VF net: clear outer UDP checksum in Intel prepare helper .mailmap | 1 + app/test-pmd/csumonly.c | 31 ++++------- doc/guides/nics/features/iavf.ini | 2 +- doc/guides/prog_guide/mbuf_lib.rst | 22 +++----- drivers/net/hns3/hns3_rxtx.c | 87 ------------------------------ drivers/net/i40e/i40e_ethdev.c | 6 ++- drivers/net/i40e/i40e_rxtx.c | 9 ++++ drivers/net/iavf/iavf_ethdev.c | 5 +- drivers/net/ice/ice_ethdev.c | 29 ++++++++-- drivers/net/ice/ice_rxtx.c | 6 +-- lib/net/rte_net.h | 30 ++++++++++- 11 files changed, 93 insertions(+), 135 deletions(-) -- 2.44.0