]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: add gro_check
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 20 Feb 2012 09:59:11 +0000 (09:59 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:18 +0000 (15:23 +0800)
commit33b3c6202fe1206ba58332eca264c421b46f66d1
tree708d6ce81880b645f9c376f157189410e6a1f3ae
parent357e902258fccde999e086945bc13b80ed6cbfc0
bnx2x: add gro_check

The patch provides workaround for BUG in FW 7.2.16,
which in GRO mode may miscalculate buffer and
place on SGE one frag less than it could.
It may happen only for some MTUs, we mark these MTUs
with gro_check flag during device initialization or
MTU change.

Next FW should include fix for the issue and the
patch could be reverted.

(cherry picked from commit fe603b4d680a2bba9d8c6d4267450fcf295f30d1)
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_cmn.c
drivers/net/bnx2x/bnx2x_cmn.h
drivers/net/bnx2x/bnx2x_main.c