]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e9daf492d534247014eeb3c165330559e01c8a8
tree3788e5dc0f9e85a03f24def6fb01b252a690eb08
parentb275e2806585b68ed76acdb554871fd012771048
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