net/mlx5: Expose mlx5e_link_mode
authorNoa Osherovich <noaos@mellanox.com>
Sun, 26 Jun 2016 09:43:24 +0000 (12:43 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 18 Aug 2016 15:49:52 +0000 (18:49 +0300)
commit8cca30a7f914fe363fa9700715619ca5c8cb38cc
tree695cc6fba5e610a5307306f28dfc1761cbdb04e9
parent2e353b3468ecb1d12a44aaf35888f7de47d5c047
net/mlx5: Expose mlx5e_link_mode

The mlx5e_link_mode enumeration will also be used in mlx5_ib for RoCE.
This patch moves the enumeration to the mlx5 driver port header file.

Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en.h
include/linux/mlx5/port.h