commit | ae2259eebeacb7753e3043278957b45840123972 | [log] [tgz] |
---|---|---|
author | Sieng Piaw Liew <liew.s.piaw@gmail.com> | Wed Jan 06 22:42:08 2021 +0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Thu Jan 07 12:39:53 2021 -0800 |
tree | 59a93b77550280e76ad0d517a83ade659a807a9d | |
parent | d27de0ef5ef995df2cc5f5c006c0efcf0a62b6af [diff] |
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: Sieng Piaw Liew <liew.s.piaw@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>