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
6df4d4b9
Commit
6df4d4b9
authored
May 08, 2020
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kconfig: adding t24p phase transition values to dot-config
parent
fd9cd6f0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
121 additions
and
0 deletions
+121
-0
Kconfig_port_timing.in
Kconfig_port_timing.in
+108
-0
gen_kconfig_port_timing.sh
userspace/host_tools/gen_kconfig_port_timing.sh
+13
-0
No files found.
Kconfig_port_timing.in
View file @
6df4d4b9
...
...
@@ -127,6 +127,12 @@ config PORT01_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT01_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13600
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT01_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -292,6 +298,12 @@ config PORT02_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT02_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 10800
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT02_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -457,6 +469,12 @@ config PORT03_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT03_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13650
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT03_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -622,6 +640,12 @@ config PORT04_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT04_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 12150
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT04_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -787,6 +811,12 @@ config PORT05_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT05_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13550
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT05_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -952,6 +982,12 @@ config PORT06_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT06_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14500
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT06_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -1117,6 +1153,12 @@ config PORT07_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT07_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13950
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT07_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -1282,6 +1324,12 @@ config PORT08_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT08_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14450
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT08_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -1447,6 +1495,12 @@ config PORT09_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT09_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14750
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT09_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -1612,6 +1666,12 @@ config PORT10_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT10_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 15100
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT10_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -1777,6 +1837,12 @@ config PORT11_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT11_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14500
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT11_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -1942,6 +2008,12 @@ config PORT12_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT12_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 9850
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT12_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -2107,6 +2179,12 @@ config PORT13_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT13_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14150
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT13_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -2272,6 +2350,12 @@ config PORT14_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT14_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 11950
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT14_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -2437,6 +2521,12 @@ config PORT15_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT15_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 12900
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT15_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -2602,6 +2692,12 @@ config PORT16_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT16_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 13800
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT16_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -2767,6 +2863,12 @@ config PORT17_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT17_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14200
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT17_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
@@ -2932,6 +3034,12 @@ config PORT18_INST01_INGRESS_LATENCY
help
Defines the reception constant delay (ps)
config PORT18_INST01_T24P_TRANS_POINT
int "timestampCorrectionPortDS.t24p_trans_point (ps)"
default 14350
help
Defines the phase transition point for reception timestamps t2/t4 (ps)
config PORT18_INST01_ANNOUNCE_INTERVAL
int "logAnnounceInterval"
default 1
...
...
userspace/host_tools/gen_kconfig_port_timing.sh
View file @
6df4d4b9
...
...
@@ -106,6 +106,7 @@ function print_instance_header() {
if
[
$instIdx
-eq
1
]
;
then
prof
=
WR
;
else
prof
=
HA
;
fi
local
tx
=
${
port_tx
[
$1
]
}
local
rx
=
${
port_rx
[
$1
]
}
local
t24p
=
${
port_t24p
[
$1
]
}
echo
-e
"
\n
menu
\"
Instance
${
instIdx
}
\"
"
>>
$OUTPUT_FILE
echo
-n
" depends on "
>>
$OUTPUT_FILE
for
inst
in
`
seq
$instIdx
$instCount
`
;
do
...
...
@@ -191,6 +192,12 @@ function print_instance_header() {
echo
-e
" help"
>>
$OUTPUT_FILE
echo
-e
" Defines the reception constant delay (ps)"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PORT
${
portStr
}
_INST
${
instStr
}
_T24P_TRANS_POINT"
>>
$OUTPUT_FILE
echo
-e
" int
\"
timestampCorrectionPortDS.t24p_trans_point (ps)
\"
"
>>
$OUTPUT_FILE
echo
-e
" default
${
t24p
}
"
>>
$OUTPUT_FILE
echo
-e
" help"
>>
$OUTPUT_FILE
echo
-e
" Defines the phase transition point for reception timestamps t2/t4 (ps)"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PORT
${
portStr
}
_INST
${
instStr
}
_ANNOUNCE_INTERVAL"
>>
$OUTPUT_FILE
echo
-e
" int
\"
logAnnounceInterval
\"
"
>>
$OUTPUT_FILE
echo
-e
" default 1"
>>
$OUTPUT_FILE
...
...
@@ -339,6 +346,12 @@ declare -A port_rx=(
[
13]
=
229225
[
14]
=
229463
[
15]
=
229850
[
16]
=
229907
[
17]
=
230106
[
18]
=
230273
)
declare
-A
port_t24p
=(
[
1]
=
13600
[
2]
=
10800
[
3]
=
13650
[
4]
=
12150
[
5]
=
13550
[
6]
=
14500
[
7]
=
13950
[
8]
=
14450
[
9]
=
14750
[
10]
=
15100
[
11]
=
14500
[
12]
=
9850
[
13]
=
14150
[
14]
=
11950
[
15]
=
12900
[
16]
=
13800
[
17]
=
14200
[
18]
=
14350
)
# Profile configuration
defaultProfile
=
"WR"
profileList
=
"PTP WR"
...
...
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