diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2010-10-18 03:09:30 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-18 17:51:58 +0400 |
commit | c8e4f48a8eb236eb672c6da0731ee01a633844f0 (patch) | |
tree | 0adbb2f6c41865bb36445d0fc02e7ffb9ecc7b24 /drivers/net/bnx2x/bnx2x_cmn.c | |
parent | adf5f6a18f2cbb215394599981fb48473b526faa (diff) | |
download | linux-c8e4f48a8eb236eb672c6da0731ee01a633844f0.tar.xz |
bnx2x: Use correct FW constant for header padding
the value of the constant is the same, but it's clearer to use original
constant provided by HSI
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>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_cmn.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index afff58c52d4f..1966ceeefcd4 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c @@ -831,7 +831,7 @@ void bnx2x_init_rx_rings(struct bnx2x *bp) int i, j; bp->rx_buf_size = bp->dev->mtu + ETH_OVREHEAD + BNX2X_RX_ALIGN + - BNX2X_FW_IP_HDR_ALIGN_PAD; + IP_HEADER_ALIGNMENT_PADDING; DP(NETIF_MSG_IFUP, "mtu %d rx_buf_size %d\n", bp->dev->mtu, bp->rx_buf_size); |