diff options
| author | Yunsheng Lin <[email protected]> | 2019-04-04 16:17:53 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-04-04 10:20:39 -0700 |
| commit | ceca4a5e3223dbb99c062990a64f7a8c32906674 (patch) | |
| tree | 9c07f6e5302ae1977ffed5a2abfc10d11e43df2b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 0aa3d88a9197fd7176dbaf5db769837be6afdf46 (diff) | |
net: hns3: minor optimization for datapath
This patch adds a likely case for hns3_fill_desc and
limits the local variables' scope as much as possible,
also avoid div operation when the tqp_vector->num_tqps
is one.
Signed-off-by: Yunsheng Lin <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions