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)
commit85082dba0a5059c538cfa786d07f5ec5370d22fe
tree1dcb1676ddb3457af5ecc43770949b091cd9be40
parentbdfc028de1b3cd59490d5413a5c87b0fa50040c2
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: 2d75b2bc8a8c ('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