diff options
| author | Bodong Wang <[email protected]> | 2018-11-08 22:37:04 +0200 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2019-02-15 17:25:56 -0800 |
| commit | a1b3839ac4a4933c7c5167efd7b6b091130d11aa (patch) | |
| tree | d469ac6c34d850adb78e7e1bf0ba379955c01ffd /tools/perf/scripts/python/netdev-times.py | |
| parent | 86b39a66b75f2f360eef56bdb5ac37d5068a9b7d (diff) | |
net/mlx5: E-Switch, Properly refer to the esw manager vport
In SmartNIC mode, the eswitch manager is not necessarily the PF
(vport 0). Use a helper function to get the correct eswitch manager
vport number and cache on the eswitch instance for fast reference.
Signed-off-by: Bodong Wang <[email protected]>
Signed-off-by: Eli Cohen <[email protected]>
Reviewed-by: Or Gerlitz <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions