diff options
author | 2019-06-30 09:04:59 +0300 | |
---|---|---|
committer | 2019-07-01 18:58:34 -0700 | |
commit | 8748642751ede505c3d6de1486fa0c1f8eb8be6b (patch) | |
tree | b76b6f684fdafbf1625122dcd8cb550a38ff0e11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlxsw: spectrum: PTP: Configure PTP traps and FIFO events (diff) | |
download | wireguard-linux-8748642751ede505c3d6de1486fa0c1f8eb8be6b.tar.xz wireguard-linux-8748642751ede505c3d6de1486fa0c1f8eb8be6b.zip |
mlxsw: spectrum: PTP: Support SIOCGHWTSTAMP, SIOCSHWTSTAMP ioctls
The SIOCSHWTSTAMP ioctl configures HW timestamping on a given port.
Dispatch the ioctls to per-chip handler (which add to ptp_ops). Find
which PTP messages need to be timestamped and configure MTPPPC
accordingly.
The SIOCGHWTSTAMP ioctl is getter for the current configuration.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions