cxgb4: expose stats fetched from firmware via debugfs
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Mon, 9 Jul 2018 16:12:47 +0000 (21:42 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2018 05:59:38 +0000 (22:59 -0700)
commit31e5f5c3e92f6560485d7625f772e36aec6d42ec
tree51785928550030f2f7bcda17ab14144e24835293
parentb351b16d8aa75856592d47600d6b3c6abee7ecbd
cxgb4: expose stats fetched from firmware via debugfs

Expose stats obtained from firmware via debugfs. These stats can't
be part of ethtool -S because the slow firmware mailbox can cause
packet drops under heavy load.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c