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)
commitff9c852f91d14d11a35514dda495999cfdb41a7a
treef9846ec9f604f085d2a77cad264eebafed6f0276
parentbe4891af77226d5909be11ab4297434cfd8c391d
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