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.
function to support get interface speed via ethtool
When master and slave instance interacting with each other operating at different interface speed, delay assymetry needs to be compensated as described in G.8271 appendix V. In this patch we are adding changes to get the interface speed using ethtool. v1: initial commit. v2: updating comments and data types. v3: updating Boolean data type to bool from <stdbool.h> v4: updating iface_if_info.speed data type to uint32_t from int. Signed-off-by: Greg Armstrong <[email protected]> Signed-off-by: Leon Goldin <[email protected]> Signed-off-by: Devasish Dey <[email protected]> Signed-off-by: Vipin Sharma <[email protected]>
- Loading branch information
1 parent
78d57e8
commit 0c4ea4d
Showing
2 changed files
with
90 additions
and
0 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