[PATCH 1/2] net/iavf: enable TSO offloading for tunnel cases
Xu, Ke1
ke1.xu at intel.com
Tue Aug 30 04:22:17 CEST 2022
> Subject: [PATCH 1/2] net/iavf: enable TSO offloading for tunnel cases
> Date: Sat, 13 Aug 2022 00:52:22 +0800
> Message-ID: <20220812165223.470777-1-peng1x.zhang at intel.com> (raw)
>
> From: Peng Zhang <peng1x.zhang at intel.com>
>
> Hardware limits that max buffer size per Tx descriptor should be (16K-1)B.
> So when TSO enabled under unencrypt scenario, the mbuf data size may exceed
> the limit and cause malicious behavior to the NIC.
>
> This patch supports Tx descriptors for this kind of large buffer.
>
> Signed-off-by: Peng Zhang <peng1x.zhang at intel.com>
Tested and passed.
Regards,
Tested-by: Ke Xu <ke1.xu at intel.com>
> ---
> drivers/net/iavf/iavf_rxtx.c | 66 ++++++++++++++++++++++++++++++++----
> 1 file changed, 60 insertions(+), 6 deletions(-)
More information about the dev
mailing list