Skip to content

Commit 66a05a1

Browse files
committed
fix(CPSW-CBS): Disable p0-rx-ptype-rrobin in examples
CPSW driver has enabled p0-rx-ptype-rrobin flag in default configuration. To verify CBS feature, p0-rx-ptype-rrobin flag should be turned off, update the documentation to reflect the same changes. Signed-off-by: Chintan Vankar <c-vankar@ti.com>
1 parent 3801866 commit 66a05a1

File tree

1 file changed

+8
-0
lines changed
  • source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network

1 file changed

+8
-0
lines changed

source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/CPSW-CBS.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ In this example Rate Limiting is enabled only for Host port TX channels.
4444

4545
ip link set dev eth0 down
4646
ethtool -L eth0 tx 8
47+
ethtool --set-priv-flags eth0 p0-rx-ptype-rrobin off
4748
ip link set dev eth0 up
4849

4950
tc qdisc replace dev eth0 handle 100: parent root mqprio num_tc 3 \
@@ -123,6 +124,7 @@ In this example Rate Limiting is enabled for Host port TX channels and External
123124

124125
ip link set dev eth0 down
125126
ethtool -L eth0 tx 8
127+
ethtool --set-priv-flags eth0 p0-rx-ptype-rrobin off
126128
ip link set dev eth0 up
127129

128130
tc qdisc add dev eth0 parent root handle 100: mqprio num_tc 3 \
@@ -186,6 +188,7 @@ Connect eth0 of AM625-SK to eth1 of J7VCL.
186188
ifconfig eth0 down
187189
ifconfig eth1 down
188190
ethtool -L eth0 tx 8
191+
ethtool --set-priv-flags eth0 p0-rx-ptype-rrobin off
189192
ifconfig eth0 up
190193
ifconfig eth0 192.168.1.1
191194

@@ -276,6 +279,7 @@ Connect eth1 of J7VCL to eth0 of AM625-SK.
276279
ifconfig eth3 down
277280
ifconfig eth4 down
278281
ethtool -L eth1 tx 8
282+
ethtool --set-priv-flags eth1 p0-rx-ptype-rrobin off
279283
ifconfig eth1 up
280284
ifconfig eth1 192.168.1.1
281285

@@ -364,6 +368,7 @@ Connect eth0 of AM625-SK to eth1 of J7VCL.
364368
ifconfig eth0 down
365369
ifconfig eth1 down
366370
ethtool -L eth0 tx 8
371+
ethtool --set-priv-flags eth0 p0-rx-ptype-rrobin off
367372
ifconfig eth0 up
368373
ifconfig eth0 192.168.1.1
369374

@@ -446,6 +451,7 @@ Connect eth1 of J7VCL to eth0 of AM625-SK.
446451
ifconfig eth3 down
447452
ifconfig eth4 down
448453
ethtool -L eth1 tx 8
454+
ethtool --set-priv-flags eth1 p0-rx-ptype-rrobin off
449455
ifconfig eth1 up
450456
ifconfig eth1 192.168.1.1
451457

@@ -573,6 +579,7 @@ eth1.
573579
ifconfig eth0 down
574580
ifconfig eth1 down
575581
ethtool -L eth0 tx 8
582+
ethtool --set-priv-flags eth0 p0-rx-ptype-rrobin off
576583
ifconfig eth0 up
577584
sleep 5
578585

@@ -689,6 +696,7 @@ Connect AM64-SK's eth0 to J7VCL's eth1 and AM625-SK's eth0 to J7VCL's eth2.
689696
ifconfig eth0 down
690697
ifconfig eth1 down
691698
ethtool -L eth0 tx 8
699+
ethtool --set-priv-flags eth0 p0-rx-ptype-rrobin off
692700
ifconfig eth0 up
693701
sleep 5
694702

0 commit comments

Comments
 (0)