net/mlx5e: Handle port mtu/link, dcb and lag for uplink reps
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 8 Nov 2018 18:42:55 +0000 (20:42 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 17 Dec 2018 19:03:28 +0000 (11:03 -0800)
commitb36cdb42ad4b114d4b9bbba8770d7a4b8e1a62f6
treee1f13c1d876aec64cf4a04cc6dbedc1dbc5e0ea9
parentaec002f6f82cbfb39f92605614a88dd7a200a766
net/mlx5e: Handle port mtu/link, dcb and lag for uplink reps

Take care of setup/teardown for the port link, dcb, lag as well as
dealing with port mtu and carrier for e-switch uplink representors.

This is achieved by adding a dedicated profile instance for uplink
representors which includes the enable/disable and more profile routines
which are invoked by the general mlx5e code for netdev attach/detach.

Signed-off-by: Or Gerlitz <ogerlitz@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