diff options
author | Parav Pandit <[email protected]> | 2019-03-21 15:51:30 -0700 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2019-03-22 12:09:29 -0700 |
commit | eb5cc431f17bc7a656c9290743d1809ac43c1c47 (patch) | |
tree | d18df882cd12ce321bc3f643ce82d8a6afd1bb2c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2aca178760288936b8b3030ca83fa53082948736 (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 <[email protected]>
Reviewed-by: Bodong Wang <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions