diff options
| author | 2026-05-18 10:13:54 +0300 | |
|---|---|---|
| committer | 2026-05-21 12:12:00 +0200 | |
| commit | fa2852a28c5bb05b9ce7b0f6227d0b276b78c07e (patch) | |
| tree | 5a0dce22cabed871c9da34c57dd3109549637836 /scripts/Makefile.thinlto | |
| parent | net/mlx5: Add mlx5_vport_set_other_func_general_cap macro (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/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
