diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-11-27 22:24:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-30 13:30:44 -0800 |
commit | de31049a48bb75bc458e9f8a0fae037fcbf1241f (patch) | |
tree | 03716c8f40e9ba9afa34159a63fdebc178afe0e5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 95862749674f598e979cb3ef2d18aec2e5d8bd29 (diff) |
nfp: move temporary variables in nfp_net_tx_complete()
Move temporary variables in scope of the loop in nfp_net_tx_complete(),
and add a temp for txbuf software structure. This saves us 0.2% of CPU.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions