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

2020-01-06 Thread Ye Xiaolong
On 12/26, Xiaoyun Li wrote: >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

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

2020-01-02 Thread Loftus, Ciara
> > -Original Message- > > From: Li, Xiaoyun > > Sent: Thursday, December 26, 2019 2:46 PM > > To: Zhang, Qi Z ; Xing, Beilei > ; > > Loftus, Ciara ; dev@dpdk.org > > Cc: Li, Xiaoyun ; sta...@dpdk.org > > Subject: [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issue > > > > Hard

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

2019-12-26 Thread Zhang, Qi Z
> -Original Message- > From: Li, Xiaoyun > Sent: Thursday, December 26, 2019 2:46 PM > To: Zhang, Qi Z ; Xing, Beilei ; > Loftus, Ciara ; dev@dpdk.org > Cc: Li, Xiaoyun ; sta...@dpdk.org > Subject: [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issue > > Hardware limits that

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

2019-12-25 Thread Xiaoyun Li
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 mo