[dpdk-dev] [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issue

Loftus, Ciara ciara.loftus at intel.com
Thu Jan 2 12:23:33 CET 2020


> > -----Original Message-----
> > From: Li, Xiaoyun <xiaoyun.li at intel.com>
> > Sent: Thursday, December 26, 2019 2:46 PM
> > To: Zhang, Qi Z <qi.z.zhang at intel.com>; Xing, Beilei
> <beilei.xing at intel.com>;
> > Loftus, Ciara <ciara.loftus at intel.com>; dev at dpdk.org
> > Cc: Li, Xiaoyun <xiaoyun.li at intel.com>; stable at dpdk.org
> > Subject: [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issue
> >
> > Hardware limits that max buffer size per tx descriptor should be (16K-1)B.
> So
> > when TSO enabled, the mbuf data size may exceed the limit and cause
> > malicious behavior to the NIC. This patch fixes this issue by using more tx
> descs
> > for this kind of large buffer.
> >
> > Fixes: 4861cde46116 ("i40e: new poll mode driver")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Xiaoyun Li <xiaoyun.li at intel.com>
> 
> Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Tested-by: Ciara Loftus <ciara.loftus at intel.com>



More information about the dev mailing list