net/mlx4_en: mlx4_en_xmit() reads ring->cons once, and ahead of time to avoid stalls
authorEric Dumazet <[email protected]>
Sun, 5 Oct 2014 09:35:16 +0000 (12:35 +0300)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: Amir Vadai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlx4/en_tx.c