Skip to content

Commit 30d9f29

Browse files
committed
OCPBUGS#2226: ptpSchedulingPriority value updated to 10
1 parent d71d52c commit 30d9f29

4 files changed

+15
-5
lines changed

modules/cnf-configuring-fifo-priority-scheduling-for-ptp.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
- name: "profile1"
4040
...
4141
ptpSchedulingPolicy: SCHED_FIFO <1>
42-
ptpSchedulingPriority: 65 <2>
42+
ptpSchedulingPriority: 10 <2>
4343
----
4444
<1> Scheduling policy for `ptp4l` and `phc2sys` processes. Use `SCHED_FIFO` on systems that support FIFO scheduling.
4545
<2> Required. Sets the integer value 1-65 used to configure FIFO priority for `ptp4l` and `phc2sys` processes.

modules/nw-ptp-configuring-linuxptp-services-as-boundary-clock.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ spec:
143143
timeSource 0xA0
144144
phc2sysOpts: "-a -r -n 24" <10>
145145
ptpSchedulingPolicy: SCHED_OTHER <11>
146-
ptpSchedulingPriority: 65 <12>
146+
ptpSchedulingPriority: 10 <12>
147147
ptpClockThreshold: <13>
148148
holdOverTimeout: 5
149149
maxOffsetThreshold: 100
@@ -166,7 +166,7 @@ spec:
166166
<9> For Intel Columbiaville 800 Series NICs, ensure `boundary_clock_jbod` is set to `0`. For Intel Fortville X710 Series NICs, ensure `boundary_clock_jbod` is set to `1`.
167167
<10> Specify system config options for the `phc2sys` service. If this field is empty the PTP Operator does not start the `phc2sys` service.
168168
<11> Scheduling policy for ptp4l and phc2sys processes. Default value is `SCHED_OTHER`. Use `SCHED_FIFO` on systems that support FIFO scheduling.
169-
<12> Integer value from 1-65 used to set FIFO priority for `ptp4l` and `phc2sys` processes. Required if `SCHED_FIFO` is set for `ptpSchedulingPolicy`.
169+
<12> Integer value from 1-65 used to set FIFO priority for `ptp4l` and `phc2sys` processes when `ptpSchedulingPolicy` is set to `SCHED_FIFO`. The `ptpSchedulingPriority` field is not used when `ptpSchedulingPolicy` is set to `SCHED_OTHER`.
170170
<13> Optional. If `ptpClockThreshold` stanza is not present, default values are used for `ptpClockThreshold` fields. Stanza shows default `ptpClockThreshold` values.
171171
<14> Specify an array of one or more `recommend` objects that define rules on how the `profile` should be applied to nodes.
172172
<15> Specify the `profile` object name defined in the `profile` section.

modules/nw-ptp-configuring-linuxptp-services-as-ordinary-clock.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ spec:
138138
userDescription ;
139139
timeSource 0xA0
140140
ptpSchedulingPolicy: SCHED_OTHER <10>
141-
ptpSchedulingPriority: 65 <11>
141+
ptpSchedulingPriority: 10 <11>
142142
ptpClockThreshold: <12>
143143
holdOverTimeout: 5
144144
maxOffsetThreshold: 100
@@ -160,7 +160,7 @@ spec:
160160
<8> For Intel Columbiaville 800 Series NICs, set `tx_timestamp_timeout` to `50`.
161161
<9> For Intel Columbiaville 800 Series NICs, set `boundary_clock_jbod` to `0`.
162162
<10> Scheduling policy for `ptp4l` and `phc2sys` processes. Default value is `SCHED_OTHER`. Use `SCHED_FIFO` on systems that support FIFO scheduling.
163-
<11> Integer value from 1-65 used to set FIFO priority for `ptp4l` and `phc2sys` processes. Required if `SCHED_FIFO` is set for `ptpSchedulingPolicy`.
163+
<11> Integer value from 1-65 used to set FIFO priority for `ptp4l` and `phc2sys` processes when `ptpSchedulingPolicy` is set to `SCHED_FIFO`. The `ptpSchedulingPriority` field is not used when `ptpSchedulingPolicy` is set to `SCHED_OTHER`.
164164
<12> Optional. If `ptpClockThreshold` stanza is not present, default values are used for `ptpClockThreshold` fields. Stanza shows default `ptpClockThreshold` values.
165165
<13> Specify an array of one or more `recommend` objects that define rules on how the `profile` should be applied to nodes.
166166
<14> Specify the `profile` object name defined in the `profile` section.

networking/using-ptp.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,18 @@ include::modules/nw-ptp-device-discovery.adoc[leveloffset=+2]
4747

4848
include::modules/nw-ptp-configuring-linuxptp-services-as-ordinary-clock.adoc[leveloffset=+2]
4949

50+
[role="_additional-resources"]
51+
.Additional resources
52+
53+
* For more information about FIFO priority scheduling on PTP hardware, see xref:../networking/using-ptp.adoc#cnf-configuring-fifo-priority-scheduling-for-ptp_using-ptp[Configuring FIFO priority scheduling for PTP hardware].
54+
5055
include::modules/nw-ptp-configuring-linuxptp-services-as-boundary-clock.adoc[leveloffset=+2]
5156

57+
[role="_additional-resources"]
58+
.Additional resources
59+
60+
* For more information about FIFO priority scheduling on PTP hardware, see xref:../networking/using-ptp.adoc#cnf-configuring-fifo-priority-scheduling-for-ptp_using-ptp[Configuring FIFO priority scheduling for PTP hardware].
61+
5262
include::modules/ptp-configuring-linuxptp-services-as-boundary-clock-dual-nic.adoc[leveloffset=+2]
5363

5464
include::modules/nw-columbiaville-ptp-config-refererence.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)