diff options
| author | GuoJia Liao <[email protected]> | 2021-02-05 16:32:46 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-02-06 14:36:05 -0800 |
| commit | 693e44157d31c5a347c55de19e59017fbf0f8b2e (patch) | |
| tree | e6da2098268b04724c3253ea0d2f4d931520f4f6 /tools/perf/scripts/python/sctop.py | |
| parent | 87ce161e8c67aca9e64a77355f748e212122ace4 (diff) | |
net: hns3: optimize the code when update the tc info
When update the TC info for NIC, there are some differences
between PF and VF. Currently, four "vport->vport_id" are
used to distinguish PF or VF. So merge them into one to
improve readability and maintainability of code.
Signed-off-by: GuoJia Liao <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions