summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2022-01-27 12:02:26 +0300
committerJakub Kicinski <kuba@kernel.org>2022-01-28 06:19:58 +0300
commitef14c298b5b0a36d5b4943c7f774f6a1d61e035d (patch)
tree77f26098e5868520c7329f28512f41abfdd3368f /tools/perf/scripts/python/check-perf-trace.py
parentbcdfd615f83b4bd04678109bf18022d1476e4bbf (diff)
downloadlinux-ef14c298b5b0a36d5b4943c7f774f6a1d61e035d.tar.xz
mlxsw: spectrum_acl: Allocate default actions for internal TCAM regions
In Spectrum-2 and later ASICs, each TCAM region has a default action that is executed in case a packet did not match any rule in the region. The location of the action in the database (KVDL) is computed by adding the region's index to a base value. Some TCAM regions are not exposed to the host and used internally by the device. Allocate KVDL entries for the default actions of these regions to avoid the host from overwriting them. With mlxsw, lookups in the internal regions are not currently performed, but it is a good practice not to overwrite their default actions. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions