aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxge
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/vxge')
-rw-r--r--drivers/net/vxge/vxge-main.c1
-rw-r--r--drivers/net/vxge/vxge-traffic.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c
index 4b22513bed40..e93651c19f59 100644
--- a/drivers/net/vxge/vxge-main.c
+++ b/drivers/net/vxge/vxge-main.c
@@ -445,6 +445,7 @@ vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr,
445 vxge_hw_ring_replenish(ringh, 0); 445 vxge_hw_ring_replenish(ringh, 0);
446 446
447 do { 447 do {
448 prefetch((char *)dtr + L1_CACHE_BYTES);
448 rx_priv = vxge_hw_ring_rxd_private_get(dtr); 449 rx_priv = vxge_hw_ring_rxd_private_get(dtr);
449 skb = rx_priv->skb; 450 skb = rx_priv->skb;
450 data_size = rx_priv->data_size; 451 data_size = rx_priv->data_size;
diff --git a/drivers/net/vxge/vxge-traffic.c b/drivers/net/vxge/vxge-traffic.c
index 0efb769894ef..fe3ae518c69c 100644
--- a/drivers/net/vxge/vxge-traffic.c
+++ b/drivers/net/vxge/vxge-traffic.c
@@ -731,6 +731,7 @@ vxge_hw_channel_dtr_try_complete(struct __vxge_hw_channel *channel, void **dtrh)
731 vxge_assert(channel->compl_index < channel->length); 731 vxge_assert(channel->compl_index < channel->length);
732 732
733 *dtrh = channel->work_arr[channel->compl_index]; 733 *dtrh = channel->work_arr[channel->compl_index];
734 prefetch(*dtrh);
734} 735}
735 736
736/* 737/*