We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21d4b92 commit 045901cCopy full SHA for 045901c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
@@ -2024,6 +2024,7 @@ static void bnx2x_set_rx_buf_size(struct bnx2x *bp)
2024
ETH_OVREHEAD +
2025
mtu +
2026
BNX2X_FW_RX_ALIGN_END;
2027
+ fp->rx_buf_size = SKB_DATA_ALIGN(fp->rx_buf_size);
2028
/* Note : rx_buf_size doesn't take into account NET_SKB_PAD */
2029
if (fp->rx_buf_size + NET_SKB_PAD <= PAGE_SIZE)
2030
fp->rx_frag_size = fp->rx_buf_size + NET_SKB_PAD;
0 commit comments