bnx2x: Prevent UDP 4-tuple configurations on older adapters
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 8 Oct 2015 13:19:01 +0000 (16:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Oct 2015 12:09:30 +0000 (05:09 -0700)
commitf9468e8dc87e31f807fae04aae70380a461b95c6
tree87ef9a643a53c5b52dd7d720616df06d7985d446
parent5edc11ab878a78eae45fb22a59a9a5554e305067
bnx2x: Prevent UDP 4-tuple configurations on older adapters

Configuring 4-tuple RSS hsahing for UDP
[E.g., by using `ethtool -N <interface> rx-flow-hash udp4 sdfn']
on a 57710/57711 adapter would cause it to assert as HW does not
support such a configuration.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c