mlx4: add a new xmit_more counter
authorEric Dumazet <edumazet@google.com>
Thu, 2 Oct 2014 15:24:21 +0000 (08:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Oct 2014 00:04:14 +0000 (20:04 -0400)
commit9fab426de78140dc5cb0b85bbee6042c9c3d5ca5
tree191460414031ac67841797f90acece7b79b3d6bb
parent6106253e69413785b29b9bfb493e2544c70461e7
mlx4: add a new xmit_more counter

ethtool -S reports a new counter, tracking number of time doorbell
was not triggered, because skb->xmit_more was set.

$ ethtool -S eth0 | egrep "tx_packet|xmit_more"
     tx_packets: 2413288400
     xmit_more: 666121277

I merged the tso_packet false sharing avoidance in this patch as well.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
drivers/net/ethernet/mellanox/mlx4/en_port.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h