]> 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)
commit89e76ba85fbfe029534616f2f3b72eacdf2a7920
tree3788e5dc0f9e85a03f24def6fb01b252a690eb08
parentdfde8c8f57cfedc1a07c7ebd4534526f66716c4e
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