summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@nvidia.com>2023-06-26 22:55:03 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-08-07 21:48:39 +0300
commit06c868fde61fd0bbf9a7c7405f6eb9925bf0c2ed (patch)
tree45be4b796affdd2d2cbf8d0bce98ffebdba0bdcd /scripts/gdb/linux/utils.py
parent8bfe1e19fb96d89fce14302e35cba0cd9f39d0a1 (diff)
downloadlinux-06c868fde61fd0bbf9a7c7405f6eb9925bf0c2ed.tar.xz
net/mlx5: Return correct EC_VF function ID
The ECVF function ID range is 1..max_ec_vfs. Currently mlx5_vport_to_func_id returns 0..max_ec_vfs - 1. Which results in a syndrome when querying the caps with more recent firmware, or reading incorrect caps with older firmware that supports EC VFs. Fixes: 9ac0b128248e ("net/mlx5: Update vport caps query/set for EC VFs") Signed-off-by: Daniel Jurgens <danielj@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions