Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215205
b: refs/heads/master
c: c8e4f48
h: refs/heads/master
i:
  215203: da8b44e
v: v3
  • Loading branch information
Dmitry Kravkov authored and David S. Miller committed Oct 18, 2010
1 parent 06223b2 commit 89cd3ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adf5f6a18f2cbb215394599981fb48473b526faa
refs/heads/master: c8e4f48a8eb236eb672c6da0731ee01a633844f0
2 changes: 1 addition & 1 deletion trunk/drivers/net/bnx2x/bnx2x_cmn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/bnx2x/bnx2x_cmn.h
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,4 @@ static inline void storm_memset_cmng(struct bnx2x *bp,
void bnx2x_acquire_phy_lock(struct bnx2x *bp);
void bnx2x_release_phy_lock(struct bnx2x *bp);

#define BNX2X_FW_IP_HDR_ALIGN_PAD 2 /* FW places hdr with this padding */

#endif /* BNX2X_CMN_H */

0 comments on commit 89cd3ca

Please sign in to comment.