diff options
| author | Sieng Piaw Liew <liew.s.piaw@gmail.com> | 2021-01-06 17:42:08 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-07 23:39:53 +0300 |
| commit | ae2259eebeacb7753e3043278957b45840123972 (patch) | |
| tree | 59a93b77550280e76ad0d517a83ade659a807a9d /tools/perf/scripts/python/syscall-counts.py | |
| parent | d27de0ef5ef995df2cc5f5c006c0efcf0a62b6af (diff) | |
| download | linux-ae2259eebeacb7753e3043278957b45840123972.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
