net/mlx5e: Add new profile function update_carrier
authorErez Shitrit <erezsh@mellanox.com>
Thu, 18 May 2017 11:32:11 +0000 (14:32 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 19 Jun 2017 15:40:20 +0000 (18:40 +0300)
commit7ca42c8094a4e265b8007a6776380f57cf093624
tree4efb27c444a8454107ef3db731959cf8703ef166
parent076b0936e5fb8dd5513c1472a2c1d487b64d1580
net/mlx5e: Add new profile function update_carrier

Updating the carrier involves specific HW setting, each profile should
use its own function for that.

Both IPoIB and VF representor don't need carrier update function, since
VF representor has only a logical link to VF and IPoIB manages its own
link via ib_core upper layer.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c