aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Mi <[email protected]>2020-09-21 13:25:54 +0800
committerSaeed Mahameed <[email protected]>2021-04-06 21:36:03 -0700
commit11ecd6c60b4ee6f5d5bcd91f5b87e50bad8f142a (patch)
treefc01b995c77b2498e27e194dd52df3272e361ada /tools/perf/scripts/python
parent2a9ab10a5689a4612d441df1cc628c381dc75ed3 (diff)
net/mlx5e: TC, Add sampler object API
In order to offload sample action, HW introduces sampler object. The sampler object samples packets according to the provided sample ratio. Sampled packets are duplicated. One copy is processed by a termination table, named the sample table, which sends the packet up to software. The second copy is processed by the default table. Instantiate sampler object. Re-use identical sampler object for the same sample ratio, sample table and default table as a prestep for offloading tc sample actions. 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')
0 files changed, 0 insertions, 0 deletions