[PATCH net-next v3 7/7] bcm63xx_enet: improve rx loop
Florian Fainelli
f.fainelli at gmail.com
Wed Jan 6 12:08:39 EST 2021
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 at gmail.com>
Acked-by: Florian Fainelli <f.fainelli at gmail.com>
--
Florian
More information about the linux-arm-kernel
mailing list