[PATCH net-next v2 6/6] bcm63xx_enet: improve rx loop

Florian Fainelli f.fainelli at gmail.com
Mon Dec 28 22:17:12 EST 2020



On 12/24/2020 6:24 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 at gmail.com>

Acked-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian



More information about the linux-arm-kernel mailing list