forked from richardcochran/linuxptp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Linux kernel supports a hardware time stamping mode that allows sending a one step sync message. This commit adds support for this mode by expanding the time stamp type enumeration. In order to enable this mode, the configuration must specify both hardware time stamping and set the twoStepFlag to false. We still do not support the one step peer delay request mechanism since there is neither kernel nor hardware support for it at this time. Signed-off-by: Richard Cochran <[email protected]>
- Loading branch information
1 parent
2438500
commit b96e739
Showing
5 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ enum timestamp_type { | |
TS_SOFTWARE, | ||
TS_HARDWARE, | ||
TS_LEGACY_HW, | ||
TS_ONESTEP, | ||
}; | ||
|
||
struct hw_timestamp { | ||
|