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
> -Original Message-
> From: Li, Xiaoyun
> Sent: Thursday, December 26, 2019 2:54 PM
> To: Zhang, Qi Z ; Xing, Beilei ;
> Yang, Qiming ; Lu, Wenzhuo
> ; Loftus, Ciara ;
> dev@dpdk.org
> Cc: Li, Xiaoyun ; sta...@dpdk.org
> Subject: [PATCH v2] net/ice: fix TSO pkt exceeds allowed buf size
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
3 matches
Mail list logo