Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
7974fc67
Commit
7974fc67
authored
May 12, 2023
by
Paul Boven
Committed by
Adam Wujek
May 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/wrs-user-manual: Update information about SFP matching
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
b2556faa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
13 deletions
+29
-13
wrs-user-manual.in
doc/wrs-user-manual.in
+29
-13
No files found.
doc/wrs-user-manual.in
View file @
7974fc67
...
...
@@ -1842,13 +1842,21 @@ parameter itself.
@subsection SFP name matching
Each time you plug an SFP transceiver into any of the @sc
{
wrs
}
ports, it has to be matched
against @t
{
dot-config
}
entries specifying timing parameters for the supported transceivers.
The matching algorithm reads from the SFP its vendor name (@i
{
vn
}
), part number (@i
{
pn
}
) and vendor
serial (@i
{
vs
}
). Then, SFP parameters are compared with values stored in
@t
{
CONFIG
_
SFP@i
{
xx
}_
PARAMS
}
@t
{
dot-config
}
entries:
against @t
{
dot-config
}
entries specifying the timing parameters and wavelength for the
supported transceivers.
The matching algorithm reads from the SFP its vendor name (@i
{
vn
}
), part number (@i
{
pn
}
), vendor
serial (@i
{
vs
}
) and TX wavelength in @t
{
nm
}
. Note that it only reads the integer part (i.e. rounded down)
of the TX wavelength, as shown by @t
{
wrs
_
sfp
_
dump
}
. Then, these SFP parameters are compared
with the values stored in the @t
{
CONFIG
_
SFP@i
{
xx
}_
PARAMS
}
@t
{
dot-config
}
entries:
@itemize
@item
The @i
{
wl
_
txrx
}
field in the @t
{
CONFIG
_
SFP@i
{
xx
}_
PARAMS
}
must contain the transmit and receive
wavelengths of the SFP in @t
{
nm
}
, as integers, separated by a '+'. The TX wavelength as
reported by the SFP is matched against the tx entry (first number) in the @i
{
wl
_
txrx
}
entry. If these do
not match, then this @t
{
CONFIG
_
SFP@i
{
xx
}_
PARAMS
}
entry cannot match against this SFP.
@item
The first try is to match a complete set of SFP identifiers (@i
{
vn
}
, @i
{
pn
}
and @i
{
vs
}
).
For the remaining parameters, first a match against all the vendor SFP identifiers
(@i
{
vn
}
, @i
{
pn
}
and @i
{
vs
}
) is attempted.
@item
If a corresponding entry cannot be found, the match is limited to @i
{
vn
}
and @i
{
pn
}
and
compared only with those @t
{
dot-config
}
entries that do not specify any vendor serial.
...
...
@@ -1861,24 +1869,25 @@ To understand better the operation of SFP matching algorithm, please see below s
@itemize @bullet
@item
@t
{
CONFIG
_
SFP00
_
PARAMS="vn=Axcen Photonics,pn=AXGE-3454-0531,vs=AX12390009629,
tx=0,rx=0,
...
"
}
tx=0,rx=0,
wl
_
txrx=1490+1310
"
}
This entry can be matched only to one SFP transceiver as it specifies full set of parameters,
including the unique vendor serial number (@i
{
vs
}
).
@item
@t
{
CONFIG
_
SFP01
_
PARAMS="vn=Axcen Photonics,pn=AXGE-3454-0531,tx=0,rx=0,
wl
_
txrx=1
310+149
0"
}
wl
_
txrx=1
490+131
0"
}
This entry may be matched only to all SFPs with vendor name "Axcen Photonics" and
part number "AXGE-3454-0531", with exception to the SFP that was already matched to
This entry may be matched only to all SFPs with vendor name "Axcen Photonics",
part number "AXGE-3454-0531" and a TX wavelength of 1490 nm, with exception of the SFP
that was already matched to
the previous entry @t
{
CONFIG
_
SFP00
_
PARAMS
}
(with vendor serial defined).
@item
@t
{
CONFIG
_
SFP02
_
PARAMS="pn=AXGE-
34
54-0531,tx=0,rx=0,wl
_
txrx=1310+1490"
}
@t
{
CONFIG
_
SFP02
_
PARAMS="pn=AXGE-
12
54-0531,tx=0,rx=0,wl
_
txrx=1310+1490"
}
This entry will be matched to all SFPs with part number "AXGE-3454-0531"
,
that were not matched by any of the entries listed earlier.
This entry will be matched to all SFPs with part number "AXGE-3454-0531"
and TX wavelength of
1310 nm,
that were not matched by any of the entries listed earlier.
@end itemize
...
...
@@ -1900,7 +1909,14 @@ and long fibers, you should provide an appropriate value of alpha,
according to laboratory measures of your fiber type. The
@t
{
CONFIG
_
FIBER@i
{
xx
}_
PARAMS
}
items are parsed as a list of
comma-separated assignments, so you can specify multiple
wavelength pairs. The accuracy of your value depends on the length
wavelength pairs. Each entry has the form @t
{
alpha
_
1310
_
1490=2.6787e-4
}
, where the numbers
are again the wavelength in integer @t
{
nm
}
. Note that only one value of alpha is needed for
each pair of wavelenghts, the switch will calculate the corect value of alpha when the wavelenghts
are switched around.
Example: @t
{
CONFIG
_
FIBER00
_
PARAMS="alpha
_
1310
_
1490=2.6787e-04"
}
The accuracy of your value depends on the length
of the fiber link. For a 10km fiber (100us round-trip) you need to know
alpha up to 1e-7 if you want the related uncertainty to be
less than 10ps.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment