Re: [dpdk-stable] [PATCH v2] net/i40e: fix forward outer IPv6 VXLAN packets
From: Ferruh Yigit <hidden>
Date: 2021-11-11 18:26:14
On 11/5/2021 3:48 AM, Xing, Beilei wrote:
quoted
-----Original Message----- From: Wang, Jie1X <redacted> Sent: Friday, November 5, 2021 11:37 AM To: dev@dpdk.org Cc: Zhang, Yuying <redacted>; Li, Xiaoyun [off-list ref]; Yang, SteveX [off-list ref]; Xing, Beilei [off-list ref]; Zhang, Qi Z [off-list ref]; Wang, Jie1X [off-list ref]; stable@dpdk.org Subject: [PATCH v2] net/i40e: fix forward outer IPv6 VXLAN packets Testpmd forwards packets in checksum mode that it need to calculate the checksum of each layer's protocol. Then it will fill flags and header length into mbuf. In process_outer_cksums, HW calculates the outer checksum if tx_offloads contains outer UDP checksum otherwise SW calculates the outer checksum. When tx_offloads contains outer UDP checksum or outer IPv4 checksum, mbuf will be filled with correct header length. This patch added outer UDP checksum in tx_offload_capa and I40E_TX_OFFLOAD_MASK, when we set csum hw outer-udp on that the engine can forward outer IPv6 VXLAN packets. Fixes: 7497d3e2f777 ("net/i40e: convert to new Tx offloads API") Cc: stable@dpdk.org Signed-off-by: Jie Wang <redacted>Acked-by: Beilei Xing <redacted>
For record, This patch has been merged to next-net-intel, and pulled to next-net from there.