net/mlx4_en: Move queue stopped/waked counters to be per ring
authorEugenia Emantayev <eugenia@mellanox.com>
Sun, 2 Mar 2014 08:25:00 +0000 (10:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2014 01:04:01 +0000 (20:04 -0500)
commit15bffdffccb3204eb1e993f60eee65c439a03136
treeaba0262a2143cc1041e72d120214b99cb9181a5a
parent93591aaa62f89820f4ae0558f01eaf9a359738da
net/mlx4_en: Move queue stopped/waked counters to be per ring

Give accurate counters and avoids cache misses when several rings
update the counters of stop/wake queue.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_port.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h