OSDN Git Service

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)
commit8956f0014ea5ed824aae3816fd9e52cf3c85b9d4
tree9b95e98800f16cbd72b375987120fa8eec48f48b
parent663f146f2ecfcc47934cb9f9543f664eeb6adb46
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: 779d986d60de ("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