net/mlx4_en: mlx4_en_xmit() reads ring->cons once, and ahead of time to avoid stalls
authorEric Dumazet <edumazet@google.com>
Sun, 5 Oct 2014 09:35:16 +0000 (12:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 05:04:15 +0000 (01:04 -0400)
commitf905c79e12791d09bbfd9ba7b672fbeb19c1e7c2
treee541f28def46a232650e1117c66c129d1f086fe9
parentfb1843ee72c7b2ed784bf88ad79c6ccc2f652499
net/mlx4_en: mlx4_en_xmit() reads ring->cons once, and ahead of time to avoid stalls

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