]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Prevent tunnel config for 577xx
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Sun, 4 Dec 2016 13:30:18 +0000 (15:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2016 20:08:40 +0000 (15:08 -0500)
commita8e63c61ca7013f3a78d243e31eb32cf84946fed
tree4f1b9be82d4a07c7bd7c485d04dc4d8bc944760b
parent262e90c2ec6118b75cf2995890d922354f87ce48
bnx2x: Prevent tunnel config for 577xx

Only the 578xx adapters are capable of configuring UDP ports for
the purpose of tunnelling - doing the same on 577xx might lead to
a firmware assertion.
We're already not claiming support for any related feature for such
devices, but we also need to prevent the configuration of the UDP
ports to the device in this case.

Fixes: 0e06d41b444e ("bnx2x: Add vxlan RSS support")
Reported-by: Anikina Anna <anikina@gmail.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c