Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
85
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
1065f286
Commit
1065f286
authored
10 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
doc: documented new clocksource module
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
36b4ad0c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/wrs-developer-manual.in
+9
-0
9 additions, 0 deletions
doc/wrs-developer-manual.in
doc/wrs-todo.in
+0
-10
0 additions, 10 deletions
doc/wrs-todo.in
with
9 additions
and
10 deletions
doc/wrs-developer-manual.in
+
9
−
0
View file @
1065f286
...
...
@@ -748,6 +748,15 @@ Currently, the package includes the following modules:
@item @i
{
wr
_
rtu.ko
}
: the routing
-
table interface between the
switching core and the associated user
-
space daemon.
@item @i
{
wr
_
pstats.ko
}
: exports per
-
port statistics to
/
proc
/
sys.
@item @i
{
wr
_
clocksource.ko
}
: uses WR time as a source for system time.
This driver uses the @sc
{
wr
}
counters to make host time flow at the
right speed. The system time is moved to the current value, with an
error not bigger than one second, as soon as @i
{
ppsi
}
synchronizes,
and the clocksource grants it won't move ever after, keeping the same
offset. This is considered acceptable, because system time is only
used for logging.
@item @i
{
at
91
_
softpwm.ko
}
: a driver that generates a PWM signal for the fan.
@end itemize
...
...
This diff is collapsed.
Click to expand it.
doc/wrs-todo.in
+
0
−
10
View file @
1065f286
...
...
@@ -159,16 +159,6 @@ like increasing @t{NR_IRQ} and exporting symbols for externally-loaded
the counters are. This would make the @sc
{
snmp
}
code generic, so
no change there would be needed if and when the counters change.
@item We need RTC driver to use WR time from FPGA as a system clock in Linux
running on WR Switch (or to synchronize the system clock). Setting initial time
from NTP is good for Grand Master in the network, but then we should keep all
system clocks in sync with WR timescale. It will become important when people
start gathering logs and SNMP info on a central server and would like to
correlate logs if something bad happens. Let's keep in mind that currently
unplugging fiber from the Slave port resets WR counters (i.e. current time
00:00 01/01/1970). System clock should not follow this, we need to keep
reporting failures timestamped with correct time.
@end itemize
@c ##########################################################################
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment