]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Make eswitch support to depend on switchdev
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 15 Feb 2018 10:39:55 +0000 (12:39 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Mar 2018 20:58:15 +0000 (13:58 -0700)
commitee7090fad033e836855589b9f8ad9ef57c1a0747
tree63c1ad7d36d691a764a5e56b92beaa8192270d33
parent759e962f8bc3b1af60966535578251ed160b6dbf
net/mlx5: Make eswitch support to depend on switchdev

Add dependancy for switchdev to be congfigured as any user-space control
plane SW is expected to use the HW switchdev ID to locate the representors
related to VFs of a certain PF and apply SW/offloaded switching on them.

Fixes: 9076b9ba1fc2 ('net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c