net/mlx5e: E-switch vport manager is valid for ethernet only
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Apr 2017 03:37:05 +0000 (06:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2017 15:08:32 +0000 (11:08 -0400)
commit955bc48081805c053aa53943b2904cb68569a364
tree8d1dcec6ca1b5c92bbb67f302b1f4ed4004953ab
parent9d6bd752c63c17419855bce1992e7b75af7370eb
net/mlx5e: E-switch vport manager is valid for ethernet only

Currently the driver support only ethernet eswitch, and we want to
protect downstream IPoIB netdev from trying to access it in IB link.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c