net/mlx4: fix UDP RSS related settings
authorOr Gerlitz <ogerlitz@mellanox.com>
Sat, 26 Nov 2011 19:55:02 +0000 (19:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Nov 2011 22:17:03 +0000 (17:17 -0500)
commit1202d460b1df3a77fda66f4ba5f90ae3527dd42f
tree2c60d8eb26dd402cb4ff174d1c0f8d3787d1fc4d
parent876f6e67d1c617c098c67934a8d00b065bb9688b
net/mlx4: fix UDP RSS related settings

Using RSS which takes into account UDP headers is controlled by
a module param, fix the setting of the HW RSS context to align
with that scheme. So far it was uncoditionally allowing hashing
on the UDP headers.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c