aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorSubbaraya Sundeep <[email protected]>2020-11-15 01:22:53 +0530
committerJakub Kicinski <[email protected]>2020-11-17 13:48:20 -0800
commit9b179a960a96d5ffd960a3f92f4536be0dda7f37 (patch)
tree2aea58788ed6c1f3796d789f6c92f08cb7371431 /tools/perf/scripts/python/intel-pt-events.py
parent041a1c171581f5b7016fd9200493ee4455f0afc1 (diff)
octeontx2-af: Generate key field bit mask from KEX profile
Key Extraction(KEX) profile decides how the packet metadata such as layer information and selected packet data bytes at each layer are placed in MCAM search key. This patch reads the configured KEX profile parameters to find out the bit position and bit mask for each field. The information is used when programming the MCAM match data by SW to match a packet flow and take appropriate action on the flow. This patch also verifies the mandatory fields such as channel and DMAC are not overwritten by the KEX configuration of other fields. Signed-off-by: Subbaraya Sundeep <[email protected]> Signed-off-by: Sunil Goutham <[email protected]> Signed-off-by: Naveen Mamindlapalli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions