diff options
| author | Moshe Shemesh <moshe@nvidia.com> | 2026-05-18 10:13:52 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-05-21 12:12:00 +0200 |
| commit | 62af408fd772ba0194c007170f9e930ea71e01ea (patch) | |
| tree | be47c1c8bfbf2d619f4c28d0052dd47f131656ad /scripts/patch-kernel | |
| parent | 3fefa7e7c14b0714708c90a36f6429c4cba733cf (diff) | |
net/mlx5: Switch vport HCA cap helpers to kvzalloc
mlx5_vport_set_other_func_cap() and mlx5_vport_get_vhca_id() allocate
command buffers that embed the HCA capability union, exceeding 4KiB.
Use kvzalloc/kvfree so the allocation can fall back to vmalloc when
contiguous memory is scarce.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260518071356.345723-5-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
