aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2022-07-27 09:23:20 +0300
committerDavid S. Miller <[email protected]>2022-07-29 11:02:23 +0100
commit37b62b282b182acd2113f97c1b9fd651d4211027 (patch)
treea0156e33b71d69a0e4c2ba1fa6a8c2b6ebc42143 /tools/perf/scripts/python
parentba323f6bee1d1e70aed280f8c89ac06959559855 (diff)
mlxsw: spectrum_ptp: Add helper functions to configure PTP traps
MTPTPT register is used to set which message types should arrive under which PTP trap. Currently, PTP0 is used for event message types, which means that the packets require time stamp. PTP1 is used for other packets. This configuration will be same for Spectrum-2 and newer ASICs. In preparation for Spectrum-2 PTP support, add helper functions to configure PTP traps and use them for Spectrum-1. These functions will be used later also for Spectrum-2. Signed-off-by: Amit Cohen <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions