summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBodong Wang <bodong@mellanox.com>2019-04-16 01:36:43 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-05-02 00:39:17 +0300
commit4314ebaa1e423d398035cdb7d15c50defa0f48af (patch)
tree13e6a5a9b4f72869d3d2c5007ead3ee30e7cb6c7 /tools/perf/scripts/python/export-to-postgresql.py
parentee813f314b2486549cd06e9e2c4d56ccab005609 (diff)
downloadlinux-4314ebaa1e423d398035cdb7d15c50defa0f48af.tar.xz
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 <bodong@mellanox.com> Signed-off-by: Vu Pham <vuhuong@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions