]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: SD, enable SD over ECPF and allow switchdev transition
authorShay Drory <shayd@nvidia.com>
Fri, 12 Jun 2026 11:39:04 +0000 (14:39 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jun 2026 18:40:51 +0000 (11:40 -0700)
commit7bcfb19465fca99efd09ecb5d3ef8f91179d7ff1
treea08904c346d0902cdec5304aa6ad90f2ee2f2a7c
parente3a02f3ecb13b3482315afb171df85651f0f8734
net/mlx5: SD, enable SD over ECPF and allow switchdev transition

Remove the restriction blocking SD on embedded CPU PFs (ECPF), enabling
SD functionality on BlueField DPUs. Remove the blocker preventing SD
devices from transitioning to switchdev mode.

The infrastructure added in earlier patches properly handles this case.

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/20260612113904.537595-16-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c