]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Wrap the open and apply of channels in one fail-safe function
authorTariq Toukan <tariqt@mellanox.com>
Mon, 26 Nov 2018 15:22:16 +0000 (17:22 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 19 Feb 2019 22:15:03 +0000 (14:15 -0800)
commit7e5bcda04bb5553bbbf986ca00523631722e77ea
treed23bb543418a5f5bdce9ce105e98ef0a96e2c7b0
parente81c40c602f6d2fc74023abd5ee02e6d3f789110
net/mlx5e: Wrap the open and apply of channels in one fail-safe function

Take into a function the common code structure of opening
a side set of channels followed by a call to apply them.

Signed-off-by: Tariq Toukan <tariqt@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_dcbnl.c
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c