]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: add gro_check
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 20 Feb 2012 09:59:11 +0000 (09:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Feb 2012 00:34:08 +0000 (19:34 -0500)
commit0aebf599a04b29a024faa096a18d4b637dbec224
tree9a95941a880b25f703eac83f444f2f92ea0a9cd0
parent00c8da515bf99aeff39d7da8eef707b93b2678ee
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.

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/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c