You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(PRU-ICSS): Update cut thru documentation for switch mode
Cut thru documentation has a gap on the order of steps in which
the cut thru needs to be enabled. This commit fixes it by adding
the recommended steps order to follow for enabling cut thru.
Signed-off-by: Meghana Malladi <[email protected]>
Copy file name to clipboardExpand all lines: source/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/PRU_ICSSG_Ethernet_Switch.rst
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,24 +129,18 @@ Assuming eth1 and eth2 are the active ports of ICSSG1 on AM64xx-EVM, to enable c
129
129
130
130
.. code-block:: console
131
131
132
-
ip link set eth1 down
133
-
ip link set eth2 down
134
-
135
-
# To enable cut thru for slice0 q0
132
+
# To enable cut through for slice0 q0
136
133
devlink dev param set platform/icssg1-eth name cut_thru value 1 cmode runtime
137
134
138
-
# To enable cut thru for slice0 q1
135
+
# To enable cut through for slice0 q1
139
136
devlink dev param set platform/icssg1-eth name cut_thru value 2 cmode runtime
140
137
141
-
# To enable cut thru for slice0 q0, q1
138
+
# To enable cut through for slice0 q0, q1
142
139
devlink dev param set platform/icssg1-eth name cut_thru value 3 cmode runtime
143
140
144
-
# To enable cut thru for slice0 q0, q1 and slice1 q0, q1
141
+
# To enable cut through for slice0 q0, q1 and slice1 q0, q1
145
142
devlink dev param set platform/icssg1-eth name cut_thru value 771 cmode runtime
146
143
147
-
ip link set eth1 up
148
-
ip link set eth2 up
149
-
150
144
To show the current cut through status, run the below command,
151
145
152
146
.. code-block:: console
@@ -166,6 +160,13 @@ To disable cut through on all queues
166
160
167
161
devlink dev param set platform/icssg1-eth name cut_thru value 0 cmode runtime
168
162
163
+
.. note::
164
+
165
+
Set up the cut through value first before enabling switch mode to ensure that
166
+
cut through is working properly. This order ensures that firmware is loaded with the
167
+
expected cut through value. Setting up switch mode will automatically stop and start
168
+
the firmware so no need to bring links down and back up again.
169
+
169
170
PTP
170
171
"""
171
172
PTP can be run during switch mode. To run PTP in switch mode, 3 AM64x EVMs need to be connected with middle EVM acting as the switch. Use the following ptp config file on all slave EVMs. For Master EVM, priority1 filed needs to be changed.
0 commit comments