diff options
| author | Kurt Kanzenbach <[email protected]> | 2020-08-18 12:32:43 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-08-19 16:07:49 -0700 |
| commit | bdfbb63c314a6fb7d27dddd62f5a3e4f062b92bb (patch) | |
| tree | 40323ad304ef541518009a986fda4b571c0b0785 /tools/perf/scripts/python | |
| parent | f3ae59c0c01530ab48faf72cc678f92ad8aa7b4f (diff) | |
ptp: Add generic ptp v2 header parsing function
Reason: A lot of the ptp drivers - which implement hardware time stamping - need
specific fields such as the sequence id from the ptp v2 header. Currently all
drivers implement that themselves.
Introduce a generic function to retrieve a pointer to the start of the ptp v2
header.
Suggested-by: Russell King <[email protected]>
Signed-off-by: Kurt Kanzenbach <[email protected]>
Reviewed-by: Richard Cochran <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions