Re: [PATCH net-next v3 7/7] bcm63xx_enet: improve rx loop

From: Florian Fainelli
Date: Wed Jan 06 2021 - 12:09:39 EST


On 1/6/21 6:42 AM, Sieng Piaw Liew wrote:
> Use existing rx processed count to track against budget, thereby making
> budget decrement operation redundant.
>
> rx_desc_count can be calculated outside the rx loop, making the loop a
> bit smaller.
>
> Signed-off-by: Sieng Piaw Liew <liew.s.piaw@xxxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian