> 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.zh...@intel.com> (raw) > > From: Peng Zhang <peng1x.zh...@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.zh...@intel.com>
Tested and passed. Regards, Tested-by: Ke Xu <ke1...@intel.com> > --- > drivers/net/iavf/iavf_rxtx.c | 66 ++++++++++++++++++++++++++++++++---- > 1 file changed, 60 insertions(+), 6 deletions(-)