cxgb4: Fix misleading packet/frame count stats.
authorGanesh Goudar <ganeshgr@chelsio.com>
Fri, 13 Jan 2017 09:16:40 +0000 (14:46 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Jan 2017 04:35:36 +0000 (23:35 -0500)
commitf750e82e7fcba219a0b401d75a58d9fbd956744c
tree370d81942d9f0e7bc88ec519653c772d76fccb89
parent4b89aa3c16f9e59fafea6d87b68b9585a7a63589
cxgb4: Fix misleading packet/frame count stats.

Do not count pause frames as part of general TX/RX frame
counters.

Based on the original work of Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h