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

2020-12-28 Thread Florian Fainelli
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 Acked-b

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

2020-12-24 Thread Sieng Piaw Liew
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 --- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 4 ++-- 1 file chan