summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2026-05-31 14:39:50 +0300
committerJakub Kicinski <kuba@kernel.org>2026-06-04 03:42:21 +0300
commit8698ddb07f874b01211885814c712b40563c9e95 (patch)
treee55c19b0d7063a5f7ec96dbb68755a1f76955f13 /include/linux
parentc3933a7a7f64e4f7b5ce2eea79d0e6950e833db7 (diff)
downloadlinux-8698ddb07f874b01211885814c712b40563c9e95.tar.xz
net/mlx5: SD, keep netdev resources on same PF in switchdev mode
In SD switchdev mode, network device resources such as channels and completion vectors must remain on the same PF rather than being distributed across SD group members. Modify mlx5_sd_ch_ix_get_dev_ix() to return 0 and mlx5_sd_ch_ix_get_vec_ix() to return the channel index directly when in switchdev mode, keeping resources local to the requesting PF. Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260531113954.395443-11-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions