Skip to content
Commit b92357b8 authored by Linu Cherian's avatar Linu Cherian Committed by Bo Sun
Browse files

octeontx2-af: Knobs for NPC default rule counters



commit 365a7586ddabd11b2171f6c7dc9e77f2a13e5c1a from
git@git.assembla.com:cavium/WindRiver.linux.git

Add devlink knobs to enable/disable counters on NPC
default rule entries.

Introduce lowlevel variant of rvu_mcam_remove/add_counter_from/to_rule
for better code reuse, which assumes necessary locks are taken at
higher level.

Change-Id: If896fb9ebe553da559f5fce9d5fc9d2fbe8f0a2c
Signed-off-by: default avatarLinu Cherian <lcherian@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/128165


Tested-by: default avatarsa_ip-toolkits-Jenkins <sa_ip-toolkits-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
(cherry picked from commit 2f13295cb9740dcd153627e0783cd5e17a56e545)
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/129383


Tested-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarBo Sun <Bo.Sun.CN@windriver.com>
parent 1c09dbbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment