diff options
author | Bodong Wang <[email protected]> | 2019-04-15 17:36:43 -0500 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2019-05-01 14:39:17 -0700 |
commit | 4314ebaa1e423d398035cdb7d15c50defa0f48af (patch) | |
tree | 13e6a5a9b4f72869d3d2c5007ead3ee30e7cb6c7 /scripts/gdb/linux/tasks.py | |
parent | ee813f314b2486549cd06e9e2c4d56ccab005609 (diff) |
net/mlx5: E-Switch, Use getter to access all vport array
Some functions issue vport commands and access vport array using
vport_index/vport_num interchangeably which is OK for VFs vports.
However, this creates potential bug if those vports are not VFs
(E.g, uplink, sf) where their vport_index don't equal to vport_num.
Prepare code to access mlx5_vport structure using a getter function.
Signed-off-by: Bodong Wang <[email protected]>
Signed-off-by: Vu Pham <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions