diff options
| author | Bodong Wang <[email protected]> | 2019-06-28 22:35:53 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2019-07-01 16:40:30 -0700 |
| commit | 2f69e591e4531d3192841a4eb2bd9b512f5a8b66 (patch) | |
| tree | c75dfc8f7340bbb48f52e02c6dfc49df4e6f6d82 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | d6518db278ed64561aa58f74ef5f3ee2f9dbe546 (diff) | |
{IB, net}/mlx5: E-Switch, Use index of rep for vport to IB port mapping
In the single IB device mode, the mapping between vport number and
rep relies on a counter. However for dynamic vport allocation, it is
desired to keep consistent map of eswitch vport and IB port.
Hence, simplify code to remove the free running counter and instead
use the available vport index during load/unload sequence from the
eswitch.
Signed-off-by: Bodong Wang <[email protected]>
Suggested-by: Parav Pandit <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions