]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Correctly handle RSS indirection table when changing number of channels
authorTariq Toukan <tariqt@mellanox.com>
Mon, 29 Feb 2016 19:17:13 +0000 (21:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 19:37:26 +0000 (14:37 -0500)
commitabef0d97ed359ea5d73e400fafd6f5f022410f03
tree1dcb1676ddb3457af5ecc43770949b091cd9be40
parent17a0a87f2209b56c7e9959096ce3aca798d63f7f
net/mlx5e: Correctly handle RSS indirection table when changing number of channels

Upon changing num_channels, reset the RSS indirection table to
match the new value.

Fixes: 241961bf968e ('net/mlx5e: Add ethtool RSS configuration options')
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c