diff options
author | Parav Pandit <parav@mellanox.com> | 2020-04-03 03:57:30 -0500 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-04-08 15:46:49 -0700 |
commit | 7482d9cb5b974b7ad1a58fa8714f7a8c05b5d278 (patch) | |
tree | d6ca87797d147171024e5d98e86182ff0058710b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d5a3c2b640093c8a4bb5d76170a8f6c8c2eacc17 (diff) |
net/mlx5e: Fix pfnum in devlink port attribute
Cited patch missed to extract PCI pf number accurately for PF and VF
port flavour. It considered PCI device + function number.
Due to this, device having non zero device number shown large pfnum.
Hence, use only PCI function number; to avoid similar errors, derive
pfnum one time for all port flavours.
Fixes: f60f315d339e ("net/mlx5e: Register devlink ports for physical link, PCI PF, VFs")
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Parav Pandit <parav@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