]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Check whether ipolicers exists
authorSubbaraya Sundeep <sbhatta@marvell.com>
Wed, 27 Oct 2021 17:32:32 +0000 (23:02 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2021 13:47:36 +0000 (14:47 +0100)
commit0a721fb8a1abd655f589b9126f68f6ad285a0463
tree4032aeb5cb53f33d6535f7a4ad6a8495534936a1
parent3b6ff75dc52264494f657bf40d4e9f71da693a86
octeontx2-af: Check whether ipolicers exists

While displaying ingress policers information in
debugfs check whether ingress policers exist in
the hardware or not because some platforms(CN9XXX)
do not have this feature.

Fixes: be8af77baf9c ("octeontx2-af: cn10k: Debugfs support for bandwidth")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Rakesh Babu <rsaladi2@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c