net/mlx4_en: Use prefetch in tx path
authorEric Dumazet <edumazet@google.com>
Sun, 5 Oct 2014 09:35:14 +0000 (12:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 05:04:15 +0000 (01:04 -0400)
commit29d40c903247596c954446639116467eb6689bb7
treef7d83f93675d8011428428f673d9882f342fbdfc
parent3d03641cb4ea050f969dd3ab34113adb95287f36
net/mlx4_en: Use prefetch in tx path

mlx4_en_free_tx_desc() uses a prefetchw(&skb->users) to speed up
consume_skb()
prefetchw(&ring->tx_queue->dql) to speed up BQL update

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c