diff options
| author | 2023-06-26 22:55:03 +0300 | |
|---|---|---|
| committer | 2023-08-07 11:48:39 -0700 | |
| commit | 06c868fde61fd0bbf9a7c7405f6eb9925bf0c2ed (patch) | |
| tree | 45be4b796affdd2d2cbf8d0bce98ffebdba0bdcd /include/linux/amba/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com | |
| parent | net/mlx5: DR, Fix wrong allocation of modify hdr pattern (diff) | |
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 'include/linux/amba/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
