diff options
author | Rakesh Babu <rsaladi2@marvell.com> | 2020-10-29 08:15:48 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-01 00:16:47 +0300 |
commit | 0f3ce484af8d57f603902deb50d10adafd75a716 (patch) | |
tree | 6f27fd1669f1511834082cfad701c140a966c8e6 /drivers/net/ethernet/marvell/octeontx2/af/common.h | |
parent | 8bcf5ced6526e1c4c8a2703f9ca9135fef7409d6 (diff) | |
download | linux-0f3ce484af8d57f603902deb50d10adafd75a716.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/common.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/af/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/common.h b/drivers/net/ethernet/marvell/octeontx2/af/common.h index 3b7cad5b116b..8f68e7a8b882 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/common.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/common.h @@ -210,6 +210,8 @@ enum ndc_idx_e { NIX0_RX = 0x0, NIX0_TX = 0x1, NPA0_U = 0x2, + NIX1_RX = 0x4, + NIX1_TX = 0x5, }; enum ndc_ctype_e { |