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

Zhang, Qi Z qi.z.zhang at intel.com
Fri Dec 27 01:26:49 CET 2019



> -----Original Message-----
> From: Li, Xiaoyun <xiaoyun.li at intel.com>
> Sent: Thursday, December 26, 2019 2:43 PM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Xing, Beilei <beilei.xing at intel.com>;
> Yang, Qiming <qiming.yang at intel.com>; Lu, Wenzhuo
> <wenzhuo.lu 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] net/ice: 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: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx")
> 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>




More information about the dev mailing list