]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: Prevent FW assertion when using Vxlan
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Fri, 18 Dec 2015 08:42:12 +0000 (10:42 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 02:28:38 +0000 (19:28 -0700)
commitf4bd8eba68cfb2138fd8ba61fa5711a8b5b1f4b7
tree2021b24749f23f0b20512bb16f4a784b36986121
parent0ec1a3d8e9f605c08ee10cf01ae592c7c0b7b9e3
bnx2x: Prevent FW assertion when using Vxlan

FW has a rare corner case in which a fragmented packet using lots
of frags would not be linearized, causing the FW to assert while trying
to transmit the packet.

To prevent this, we need to make sure the window of fragements containing
MSS worth of data contains 1 BD less than for regular packets due to
the additional parsing BD.

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>
Orabug: 23718192
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c