Zhichao Zeng 70888c61d9 net/iavf: fix tunnel TSO offload
This patch is to fix the tunnel TSO not enabling issue, simplify
the logic of calculating 'Tx Buffer Size' of data descriptor with IPSec,
and fix handling that the mbuf size exceeds the TX descriptor
hardware limit(1B-16KB) which causes malicious behavior to the NIC.

Fixes: 1e728b01120c ("net/iavf: rework Tx path")

Signed-off-by: Zhichao Zeng <zhichaox.zeng@intel.com>
Tested-by: Ke Xu <ke1.xu@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
2022-10-08 18:04:46 +02:00
..
2022-09-23 16:14:34 +02:00
2022-09-23 16:14:34 +02:00
2022-09-23 16:14:34 +02:00
2022-10-08 18:04:46 +02:00
2022-10-05 21:34:30 +02:00
2022-09-23 16:14:34 +02:00
2022-10-04 17:23:58 +02:00
2022-09-23 16:14:34 +02:00