summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2026-05-18 10:13:56 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-05-21 12:12:00 +0200
commit4a3b5efee2e5ed06604268e1de399dec454290c9 (patch)
treefe2abba1923f2dc327dc5c0f0b3ce74d2bd2f56c /rust/kernel/alloc/kvec/errors.rs
parentd7ec361003fab246bd7b70e92096c4bbfee949ab (diff)
net/mlx5: Generalize enable/disable HCA for any PF vport
Refactor the host-PF-specific mlx5_cmd_host_pf_enable/disable_hca() into generic mlx5_cmd_pf_enable/disable_hca() that accept a vport number. The new functions use vhca_id as function_id when supported. Similarly, refactor the eswitch layer into generic static helpers mlx5_esw_pf_enable/disable_hca() with thin wrappers for the host PF case, in preparation for enable_hca on satellite PF vports. Signed-off-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260518071356.345723-9-tariqt@nvidia.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions