-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use periodic timer for TX SYNC timeout.
In order to obtain a precise TX SYNC frequency we need to use a periodic timer facility instead to reconfigure the timer on every expiration. The solution consists to configure the it_interval field of the itimerspec structure (see timerfd_create(2) man page) only when the port goes into Master role and avoiding to call timerfd_settime() on timer expiration.
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 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