diff options
author | Prakash Brahmajyosyula <bprakash@marvell.com> | 2019-11-14 06:26:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 03:09:15 +0100 |
commit | c57211b53682c6681d94137f6733dff3e6ea317e (patch) | |
tree | 7853be962b28c08c94cb624ed6661d419952a276 /drivers/net/ethernet/marvell/octeontx2/af/rvu.h | |
parent | octeontx2-af: Add NDC block stats to debugfs. (diff) | |
download | linux-c57211b53682c6681d94137f6733dff3e6ea317e.tar.xz linux-c57211b53682c6681d94137f6733dff3e6ea317e.zip |
octeontx2-af: Add CGX LMAC stats to debugfs
This patch adds CGX LMAC physical interface or serdes Rx/Tx
packet stats to debugfs.
'cat cgx<idx>/lmac<idx>/stats' dumps the current interface link
status and Rx/Tx stats. Stats include pkt received/transmitted,
dropped, pause frames etc etc.
Signed-off-by: Prakash Brahmajyosyula <bprakash@marvell.com>
Signed-off-by: Linu Cherian <lcherian@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/rvu.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/af/rvu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu.h b/drivers/net/ethernet/marvell/octeontx2/af/rvu.h index 269c43fd1f78..2fb871da9308 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu.h @@ -44,6 +44,9 @@ struct dump_ctx { struct rvu_debugfs { struct dentry *root; + struct dentry *cgx_root; + struct dentry *cgx; + struct dentry *lmac; struct dentry *npa; struct dentry *nix; struct dump_ctx npa_aura_ctx; |