diff options
author | Chintan Vankar <c-vankar@ti.com> | 2024-04-19 13:56:25 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-04-23 12:07:23 +0200 |
commit | c459f606f66dfdb14aef5a7927c2f4b274682fee (patch) | |
tree | 26a1501a49b19a9bbd42b4f95ef1f1506f3ab8f9 /tools/testing/selftests/net/lib/py/ksft.py | |
parent | 9b9fd023e9c503cf63067ecd33336f575bc79c67 (diff) |
net: ethernet: ti: am65-cpts: Enable RX HW timestamp for PTP packets using CPTS FIFO
Add a new function "am65_cpts_rx_timestamp()" which checks for PTP
packets from header and timestamps them.
Add another function "am65_cpts_find_rx_ts()" which finds CPTS FIFO
Event to get the timestamp of received PTP packet.
Signed-off-by: Chintan Vankar <c-vankar@ti.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/ksft.py')
0 files changed, 0 insertions, 0 deletions