]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix default amount of channels for VF representors
authorGavi Teitz <gavi@mellanox.com>
Mon, 19 Nov 2018 15:22:30 +0000 (17:22 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Dec 2018 09:24:44 +0000 (01:24 -0800)
commitb44b561b67dc24fd277c401cd19b4039c9cf84c8
tree9b95e98800f16cbd72b375987120fa8eec48f48b
parent8bf8635c8768cf6c72129fcef8168030f96f447f
net/mlx5e: Fix default amount of channels for VF representors

The default amount of channels a representor opens was erroneously
changed from one to the maximum amount of channels, restore to its
intended value.

Fixes: d4f9ea5ea1de ("net/mlx5e: Do not ignore netdevice TX/RX queues number")
Signed-off-by: Gavi Teitz <gavi@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c