net/mlx4_en: really allow to change RSS key
authorEric Dumazet <edumazet@google.com>
Wed, 16 Sep 2015 01:29:47 +0000 (18:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2015 04:03:59 +0000 (21:03 -0700)
commit4671fc6d47e0a0108fe24a4d830347d6a6ef4aa7
tree3eb69a62efb5b85d465fd9fa427025973773e7e8
parent58189ca7b27411c3dc9a5cb9eeee0906da684c59
net/mlx4_en: really allow to change RSS key

When changing rss key, we do not want to overwrite user provided key
by the one provided by netdev_rss_key_fill(), which is the host random
key generated at boot time.

Fixes: 947cbb0ac242 ("net/mlx4_en: Support for configurable RSS hash function")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Eyal Perry <eyalpe@mellanox.com>
CC: Amir Vadai <amirv@mellanox.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c