summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChris Mi <cmi@nvidia.com>2020-09-21 13:25:54 +0800
committerSaeed Mahameed <saeedm@nvidia.com>2021-04-06 21:36:03 -0700
commit11ecd6c60b4ee6f5d5bcd91f5b87e50bad8f142a (patch)
treefc01b995c77b2498e27e194dd52df3272e361ada /tools/perf/scripts/python/export-to-postgresql.py
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 <cmi@nvidia.com> Reviewed-by: Oz Shlomo <ozsh@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions