[PATCH v4] net/iavf: fix TSO offload for tunnel case
Xu, Ke1
ke1.xu at intel.com
Fri Sep 30 05:46:40 CEST 2022
> -----Original Message-----
> From: Zhichao Zeng <zhichaox.zeng at intel.com>
> Sent: Thursday, September 29, 2022 1:27 PM
> To: dev at dpdk.org
> Cc: Yang, Qiming <qiming.yang at intel.com>; Zhou, YidingX
> <yidingx.zhou at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>; Zeng,
> ZhichaoX <zhichaox.zeng at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>;
> Xing, Beilei <beilei.xing at intel.com>; Nicolau, Radu
> <radu.nicolau at intel.com>; Sinha, Abhijit <abhijit.sinha at intel.com>; Doherty,
> Declan <declan.doherty at intel.com>
> Subject: [PATCH v4] net/iavf: fix TSO offload for tunnel case
>
> 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 at intel.com>
Tested and passed.
Tested-by: Ke Xu <ke1.xu at intel.com>
> ---
> v4: fix the IPsec TSO issue
> ---
> v3: move macros to iavf header file
> ---
> v2: rework patch
> ---
> drivers/net/iavf/iavf_rxtx.c | 99 ++++++++++++++++++++++--------------
> drivers/net/iavf/iavf_rxtx.h | 4 ++
> 2 files changed, 65 insertions(+), 38 deletions(-)
> --
> 2.25.1
More information about the dev
mailing list