sfc: Add TX merged completion counter
authorBen Hutchings <bhutchings@solarflare.com>
Sat, 27 Apr 2013 00:55:21 +0000 (01:55 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 27 Aug 2013 21:28:47 +0000 (22:28 +0100)
commit02e121650b5e46ef3f2b3ed1ebc4b70e47799056
treefff130923bf82cde0bc0359384edf2d4cd359967
parent43a3739d559f02cb00d92a51d8f2a7d294a1b5e5
sfc: Add TX merged completion counter

Add a counter for TX merged completion events.

This is implemented in the common TX path, because the NIC event
handlers only know how many descriptors were completed, not how many
packets.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/tx.c