[PATCH v5 0/2] bugfix about KEEP CRC offload
Dengdui Huang
huangdengdui at huawei.com
Fri May 16 09:15:17 CEST 2025
This patchset fixes two bugs related to the keep_crc feature in hns3.
Additionally, as previously discussed, the pkt_len field in mbuf does
not include the length of the CRC data, which is also consistent with
the behavior of most drivers.
Dengdui Huang (2):
net/hns3: fix cannot look the CRC data
net/hns3: fix Rx packet without CRC data
drivers/net/hns3/hns3_ethdev.c | 2 +
drivers/net/hns3/hns3_ethdev.h | 23 +++++
drivers/net/hns3/hns3_rxtx.c | 140 ++++++++++++++++++++------
drivers/net/hns3/hns3_rxtx.h | 6 ++
drivers/net/hns3/hns3_rxtx_vec.c | 3 +-
drivers/net/hns3/hns3_rxtx_vec_neon.h | 19 ----
drivers/net/hns3/hns3_rxtx_vec_sve.c | 3 +-
7 files changed, 145 insertions(+), 51 deletions(-)
--
2.33.0
More information about the dev
mailing list