net/mlx5: Add stub for mlx5_eswitch_mode
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 29 Aug 2019 23:42:36 +0000 (23:42 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 2 Sep 2019 06:44:42 +0000 (23:44 -0700)
commitf813cb506b8c9abc106314e1f95c9f2ebf260988
treeecf1d6c01565c6c6baea7c2be9445e63ca68d40c
parent3a6ef5158d4a01a2ddd88c3c978e6de0d10ee759
net/mlx5: Add stub for mlx5_eswitch_mode

Return MLX5_ESWITCH_NONE when CONFIG_MLX5_ESWITCH
is not selected.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/eswitch.h