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)
commitf125376b06bcc57dfb0216ac8d6ec6d5dcf81025
tree63c1ad7d36d691a764a5e56b92beaa8192270d33
parent5ecadff0b6cfb52ba5d1bd07c6372acea5418c39
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: e80541ecabd5 ('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