]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Apr 2020 07:06:42 +0000 (09:06 +0200)
commit59ead8b8a94f755dee01e7f2c80477131f320ca5
tree87b3bb3e57b27ef407bdd9e3c4fe3185d718c42f
parentf6c13cca2ad06f18e83dd2e025d9266551fe5dd7
net/mlx5e: Encapsulate updating netdev queues into a function

[ Upstream commit c2c95271f9f39ea9b34db2301b3b6c5105cdb447 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c