diff options
author | Bodong Wang <bodong@mellanox.com> | 2019-02-17 22:23:16 -0600 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-02-19 14:15:04 -0800 |
commit | acad70731e63aa3a901bc04a81a4a152cadbe9bf (patch) | |
tree | e2fbf11a2d9badc9a8eaa86ad8d797e4a8486d48 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e87636117e9a093ae221c1b935bf1a698be50df0 (diff) |
net/mlx5: E-Switch, Fix the warning on vport index out of range
When eswitch gets vport data structure, the index should not be out
of the range of the vport array. Driver mistakenly used vport number
to check the range.
Fixes: 22b8ddc86bf4 ("net/mlx5: E-Switch, Assign a different position for uplink rep and vport")
Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions