diff options
| author | Chris Mi <[email protected]> | 2021-01-26 11:08:28 +0800 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-04-06 21:36:04 -0700 |
| commit | 36a3196256bf3310e5e7142b0e61787f7a201abd (patch) | |
| tree | 3556e761c7715f4c4a60ad94fcf1965febe812d3 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | 11ecd6c60b4ee6f5d5bcd91f5b87e50bad8f142a (diff) | |
net/mlx5e: TC, Add sampler restore handle API
Use common object pool to create an object ID to map sample parameters.
Allocate a modify header action to write the object ID to reg_c0 lower
16 bits. Create a restore rule to pass the object ID to software. So
software can identify sampled packets via the object ID and send it to
userspace.
Aggregate the modify header action, restore rule and object ID to a
sample restore handle. Re-use identical sample restore handle for
the same object ID.
Signed-off-by: Chris Mi <[email protected]>
Reviewed-by: Oz Shlomo <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions