Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit ae2259ee authored by Sieng Piaw Liew's avatar Sieng Piaw Liew Committed by Jakub Kicinski
Browse files

bcm63xx_enet: improve rx loop


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: default avatarSieng Piaw Liew <liew.s.piaw@gmail.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent d27de0ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment