net/mlx5e: Encapsulate updating netdev queues into a function
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Tue, 3 Sep 2019 14:38:43 +0000 (17:38 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 26 Feb 2020 01:05:45 +0000 (17:05 -0800)
commitc2c95271f9f39ea9b34db2301b3b6c5105cdb447
tree3788e5dc0f9e85a03f24def6fb01b252a690eb08
parent02377e6edf135289ebdf6ff4b40a422db4b780ff
net/mlx5e: Encapsulate updating netdev queues into a function

As a preparation for one of the following commits, create a function to
encapsulate the code that notifies the kernel about the new amount of
RX and TX queues. The code will be called multiple times in the next
commit.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c