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

2021-01-06 Thread Florian Fainelli
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 Acked-by: Flor

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

2021-01-06 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