[dpdk-stable] [dpdk-dev] [PATCH] net/bnxt: limit per-poll Rx representor pkts

Ferruh Yigit ferruh.yigit at intel.com
Thu Jan 7 16:33:29 CET 2021


On 1/6/2021 8:54 PM, Lance Richardson wrote:
> On Wed, Jan 6, 2021 at 4:27 AM Ferruh Yigit <ferruh.yigit at intel.com> wrote:
>>
>> On 12/14/2020 6:53 PM, Lance Richardson wrote:
>>> Limit number of representor packets transferred per poll
>>> to requested burst size.
>>>
>>
>> Hi Lance,
>>
>> Can you please describe the impact of the change? Since it has a fixes line, it
>> seems it is fixing something but it is not clear what is fixed.
>>
> Hi Ferruh,
> 
> How does this look:
> 
> Without some limit on the number of packets transferred from the
> hw ring to the representor ring per burst receive call, an entire ring's
> worth of packets can be transferred. This can break assumptions
> about ring indices (index on return could be identical to the index
> on entry, which is assumed to mean that no packets were processed),
> and can result in representor packets being dropped unnecessarily
> due to representor ring overflow.
> 
> Fix by limiting the number of representor packets transferred per
> poll to requested burst size.
> 

Thank you, updated the commit log in next-net.


More information about the stable mailing list