diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2012-04-23 03:05:11 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-24 02:34:03 (GMT) |
commit | 94b2f9ba4c87d155446957ee413e34298cbe7554 (patch) | |
tree | 15ae1933d230f287da7e5b721e67962ff03390a2 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | |
parent | a334872224a67b614dc888460377862621f3dac7 (diff) | |
download | linux-fsl-qoriq-94b2f9ba4c87d155446957ee413e34298cbe7554.tar.xz |
bnx2x: remove gro workaround
Removes GRO workaround, as issue is fixed in FW 7.2.51.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Barak Witkowski <barak@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h index 3b1bc6d..cec993b 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h @@ -1544,13 +1544,6 @@ static inline bool bnx2x_mtu_allows_gro(int mtu) */ return mtu <= SGE_PAGE_SIZE && (U_ETH_SGL_SIZE * fpp) <= MAX_SKB_FRAGS; } - -static inline bool bnx2x_need_gro_check(int mtu) -{ - return (SGE_PAGES / (mtu - ETH_MAX_TPA_HEADER_SIZE - 1)) != - (SGE_PAGES / (mtu - ETH_MIN_TPA_HEADER_SIZE + 1)); -} - /** * bnx2x_bz_fp - zero content of the fastpath structure. * |