]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Move uplink rep init/cleanup code into own functions
authorRoi Dayan <roid@mellanox.com>
Wed, 23 Oct 2019 06:59:36 +0000 (09:59 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 23 Jan 2020 06:28:40 +0000 (22:28 -0800)
commit6c26c66f45ec4f1121498ff0d858557722ca8dbe
treeb3e62fb5e3bb099c3591e5b40ccf02bfceeda1c0
parent63a2442bd4edb228ff74685138cdd07d79811939
net/mlx5e: Move uplink rep init/cleanup code into own functions

Clean up the code and allows to call uplink rep init/cleanup
from different location later.
To be used later for a new uplink representor mode.

Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Eli Britstein <elibr@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c