diff options
| author | Petr Machata <[email protected]> | 2019-06-30 09:04:54 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-07-01 18:58:34 -0700 |
| commit | 810256cec105b3b1ff977f0cd47dac1a1a9a184b (patch) | |
| tree | ebe27a1e83c9c3d995257c1f819115173a708290 /tools/perf/scripts/python | |
| parent | 0714256c3d76793b6ce52e74b4fa207cfb502246 (diff) | |
mlxsw: spectrum: PTP: Add PTP initialization / finalization
Add two ptp_ops: init and fini, to initialize and finalize the PTP
subsystem. Call as appropriate from mlxsw_sp_init() and _fini().
Lay the groundwork for Spectrum-1 support. On Spectrum-1, the received
timestamped packets and their corresponding timestamps arrive
independently, and need to be matched up. Introduce the related data types
and add to struct mlxsw_sp_ptp_state the hash table that will keep the
unmatched entries.
Signed-off-by: Petr Machata <[email protected]>
Acked-by: Jiri Pirko <[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