RE: [PATCH] net/ice: fix Tx offload path choice

2022-02-26 Thread Zhang, Qi Z
> -Original Message- > From: Liu, KevinX > Sent: Friday, December 24, 2021 11:09 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Yang, SteveX ; > Liu, KevinX ; sta...@dpdk.org > Subject: [PATCH] net/ice: fix Tx offload path choice > > Testpmd forwards packets in

RE: [PATCH] net/ice: fix Tx offload path choice

2022-02-23 Thread Ling, WeiX
> -Original Message- > From: Kevin Liu > Sent: Friday, December 24, 2021 11:09 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Yang, SteveX > ; Liu, KevinX ; > sta...@dpdk.org > Subject: [PATCH] net/ice: fix Tx offload path choice > > Testpmd forwards packets in

[PATCH] net/ice: fix Tx offload path choice

2022-02-23 Thread Kevin Liu
Testpmd forwards packets in checksum mode that it needs to calculate the checksum of each layer's protocol. When setting the hardware calculates the outer UDP checksum and the software calculates the outer IP checksum, the dev->tx_pkt_burst in ice_set_tx_function is set to ice_xmit_pkts_vec_avx2.