aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorYotam Gigi <[email protected]>2017-01-23 11:07:11 +0100
committerDavid S. Miller <[email protected]>2017-01-24 13:44:28 -0500
commit98d0f7b9acda0cf15259f83ca1758ad6017c0942 (patch)
treee6a1795a19f0932aaec4e74d4d06731a8ba3f6ee /tools/perf/scripts/python/bin
parent0677d6828b039bdccc6161a4ea6ae715489dca7e (diff)
mlxsw: spectrum: Add packet sample offloading support
Using the MPSC register, add the functions that configure port-based packet sampling in hardware and the necessary datatypes in the mlxsw_sp_port struct. In addition, add the necessary trap for sampled packets and integrate with matchall offloading to allow offloading of the sample tc action. The current offload support is for the tc command: tc filter add dev <DEV> parent ffff: \ matchall skip_sw \ action sample rate <RATE> group <GROUP> [trunc <SIZE>] Where only ingress qdiscs are supported, and only a combination of matchall classifier and sample action will lead to activating hardware packet sampling. Signed-off-by: Yotam Gigi <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions