diff options
| author | Moshe Shemesh <moshe@nvidia.com> | 2026-05-18 10:13:54 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-05-21 12:12:00 +0200 |
| commit | fa2852a28c5bb05b9ce7b0f6227d0b276b78c07e (patch) | |
| tree | 5a0dce22cabed871c9da34c57dd3109549637836 /scripts/patch-kernel | |
| parent | 9244a323125cc56ac4a3062709bd0a00134a1c23 (diff) | |
net/mlx5: Refactor mlx5_set_msix_vec_count() SET_HCA_CAP
Use mlx5_vport_set_other_func_general_cap() instead of open-coding the
SET_HCA_CAP command. This removes redundant buffer allocation and
ensures consistent use of vport-based function addressing.
mlx5_vport_set_other_func_general_cap() supports both function_id and
vhca_id based addressing, so this also enables SET_HCA_CAP for vhca_id
indexed functions which was not supported before.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260518071356.345723-7-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
