]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd59e0fb0d4e78b3db1e23ba985552f3848c90717
treee1f13c1d876aec64cf4a04cc6dbedc1dbc5e0ea9
parent4437f8b9db9db61509a1f4bf488165be06e47cd0
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