Commit 0f3ce484 authored by Rakesh Babu's avatar Rakesh Babu Committed by Jakub Kicinski

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: default avatarRakesh Babu <rsaladi2@marvell.com>
Signed-off-by: default avatarSubbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8bcf5ced
...@@ -210,6 +210,8 @@ enum ndc_idx_e { ...@@ -210,6 +210,8 @@ enum ndc_idx_e {
NIX0_RX = 0x0, NIX0_RX = 0x0,
NIX0_TX = 0x1, NIX0_TX = 0x1,
NPA0_U = 0x2, NPA0_U = 0x2,
NIX1_RX = 0x4,
NIX1_TX = 0x5,
}; };
enum ndc_ctype_e { enum ndc_ctype_e {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment