> -----Original Message-----
> From: Wang, Jie1X <[email protected]>
> Sent: Friday, November 5, 2021 11:37 AM
> To: [email protected]
> Cc: Zhang, Yuying <[email protected]>; Li, Xiaoyun
> <[email protected]>; Yang, SteveX <[email protected]>; Xing, Beilei
> <[email protected]>; Zhang, Qi Z <[email protected]>; Wang, Jie1X
> <[email protected]>; [email protected]
> 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: [email protected]
> 
> Signed-off-by: Jie Wang <[email protected]>
Acked-by: Beilei Xing <[email protected]>

Reply via email to