]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Disallow SRIOV switchdev mode when in multi-PF netdev
authorTariq Toukan <tariqt@nvidia.com>
Tue, 9 Apr 2024 19:08:19 +0000 (22:08 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 11 Apr 2024 02:48:14 +0000 (19:48 -0700)
commit7772dc7460e8ef359f3eee88c3b708cb403e19af
tree0526c124ce296a72fa14bd0a5fc92a94fc29893c
parent49e6c9387051716169ff6a6c5ddd4d9f358db2e9
net/mlx5: Disallow SRIOV switchdev mode when in multi-PF netdev

Adaptations need to be made for the auxiliary device management in the
core driver level. Block this combination for now.

Fixes: 678eb448055a ("net/mlx5: SD, Implement basic query and instantiation")
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Link: https://lore.kernel.org/r/20240409190820.227554-12-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c