summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-03-21 15:51:30 -0700
committerSaeed Mahameed <saeedm@mellanox.com>2019-03-22 12:09:29 -0700
commiteb5cc431f17bc7a656c9290743d1809ac43c1c47 (patch)
treed18df882cd12ce321bc3f643ce82d8a6afd1bb2c /tools/perf/scripts/python/export-to-sqlite.py
parent2aca178760288936b8b3030ca83fa53082948736 (diff)
net/mlx5: Simplify mlx5_sriov_is_enabled() by using pci core API
It is desired to get rid of num_vfs stored inside mlx5_core_sriov to safely support vports more than vfs. To reduce dependency on mlx5_core_sriov num_vfs, start using pci_num_vf() from pci core. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Bodong Wang <bodong@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions