octeontx2-af: Display NIX1 also in debugfs
authorRakesh Babu <rsaladi2@marvell.com>
Thu, 29 Oct 2020 05:15:48 +0000 (10:45 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 31 Oct 2020 21:16:47 +0000 (14:16 -0700)
commit0f3ce484af8d57f603902deb50d10adafd75a716
tree6f27fd1669f1511834082cfad701c140a966c8e6
parent8bcf5ced6526e1c4c8a2703f9ca9135fef7409d6
octeontx2-af: Display NIX1 also in debugfs

If NIX1 block is also implemented then add a new
directory for NIX1 in debugfs root. Stats of
NIX1 block can be read/writen from/to the files
in directory "/sys/kernel/debug/octeontx2/nix1/".

Signed-off-by: Rakesh Babu <rsaladi2@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/common.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c