nfp: add a separate counter for packets with CHECKSUM_COMPLETE
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 2 Apr 2018 20:31:20 +0000 (13:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2018 15:36:50 +0000 (11:36 -0400)
commit0df57e604c460fc8333306ea3029d9e21e8f19f7
treebcd71267ca085eaf2b95553f00ccd4c95009079d
parentb714295abc59cfa2fe46f9341503d9a7eb790503
nfp: add a separate counter for packets with CHECKSUM_COMPLETE

We are currently counting packets with CHECKSUM_COMPLETE as
"hw_rx_csum_ok".  This is confusing.  Add a new counter.
To make sure it fits in the same cacheline move the less used
error counter to a different location.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c