diff options
| author | Kurt Kanzenbach <[email protected]> | 2020-08-18 12:32:44 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-08-19 16:07:49 -0700 |
| commit | 036c508ba95e573f53bd5bbb79b0c4d71003b319 (patch) | |
| tree | b09208c59aaca9fa858cdae2e4070a269bdca702 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | bdfbb63c314a6fb7d27dddd62f5a3e4f062b92bb (diff) | |
ptp: Add generic ptp message type function
The message type is located at different offsets within the ptp header depending
on the ptp version (v1 or v2). Therefore, drivers which also deal with ptp v1
have some code for it.
Extract this into a helper function for drivers to be used.
Signed-off-by: Kurt Kanzenbach <[email protected]>
Reviewed-by: Richard Cochran <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions