diff options
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_cmn.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index 7ee9af020ed6..da46309a855c 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c | |||
@@ -358,7 +358,7 @@ static void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, | |||
358 | #endif | 358 | #endif |
359 | 359 | ||
360 | prefetch(skb); | 360 | prefetch(skb); |
361 | prefetch(((char *)(skb)) + 128); | 361 | prefetch(((char *)(skb)) + L1_CACHE_BYTES); |
362 | 362 | ||
363 | #ifdef BNX2X_STOP_ON_ERROR | 363 | #ifdef BNX2X_STOP_ON_ERROR |
364 | if (pad + len > bp->rx_buf_size) { | 364 | if (pad + len > bp->rx_buf_size) { |
@@ -561,7 +561,7 @@ int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) | |||
561 | dma_unmap_addr(rx_buf, mapping), | 561 | dma_unmap_addr(rx_buf, mapping), |
562 | pad + RX_COPY_THRESH, | 562 | pad + RX_COPY_THRESH, |
563 | DMA_FROM_DEVICE); | 563 | DMA_FROM_DEVICE); |
564 | prefetch(((char *)(skb)) + 128); | 564 | prefetch(((char *)(skb)) + L1_CACHE_BYTES); |
565 | 565 | ||
566 | /* is this an error packet? */ | 566 | /* is this an error packet? */ |
567 | if (unlikely(cqe_fp_flags & ETH_RX_ERROR_FALGS)) { | 567 | if (unlikely(cqe_fp_flags & ETH_RX_ERROR_FALGS)) { |