]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Introduce mlx5e_channels
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 6 Feb 2017 11:14:34 +0000 (13:14 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Mar 2017 12:08:14 +0000 (15:08 +0300)
commitdb78de26981d1875c558b1f1f78913f5b9232313
treef9846ec9f604f085d2a77cad264eebafed6f0276
parentb37c832dd3f2040f3aa84e9e60ee02775daac3df
net/mlx5e: Introduce mlx5e_channels

Have a dedicated "channels" handler that will serve as channels
(RQs/SQs/etc..) holder to help with separating channels/parameters
operations, for the downstream fail-safe configuration flow, where we will
create a new instance of mlx5e_channels with the new requested parameters
and switch to the new channels on the fly.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c