Skip to content

Commit ec50ca1

Browse files
committed
docs(linux): Network: CPSW-IET/EST: Update documentation for TSN IET/EST
Update the documentation for CPSW-EST/IET to add necessary instructions to avoid errors while updating tx channels and fix CPSW-IET documentation. Signed-off-by: Chintan Vankar <[email protected]>
1 parent 7771478 commit ec50ca1

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Here are the steps to configure this schedule.
3939
::
4040

4141
#Setup interface and queue configuration
42+
#Bring down all interfaces associated with the same CPSW instance to update tx channels
4243
ip link set dev eth0 down
4344
ethtool -L eth0 tx 3
4445

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Assume 2 AM65x IDKs are connected back to back over MCU Ethernet port (typically
4343

4444
.. code-block:: console
4545
46+
# bring down all interfaces associated with the same CPSW instance to update tx channels
4647
root@evm:~# ip link set dev eth0 down
4748
[ 84.543137] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
4849
root@evm:~# ethtool -L eth0 tx 2
@@ -798,7 +799,7 @@ Connect eth0 of AM625-SK to eth1 of J7VCL and eth0 of J7ES to eth2 of J7VCL.
798799
ifconfig eth0 down
799800
ethtool -L eth0 tx 4
800801
ethtool --set-priv-flags eth0 p0-rx-ptype-rrobin off
801-
ethtool --set-mm eth0 pmac-enabled on tx-enabled on verify-enabled on verify-time 10 tx-min-frag-siz4
802+
ethtool --set-mm eth0 pmac-enabled on tx-enabled on verify-enabled on verify-time 10 tx-min-frag-size 124
802803
ifconfig eth0 up
803804
sleep 10
804805
@@ -812,8 +813,8 @@ Connect eth0 of AM625-SK to eth1 of J7VCL and eth0 of J7ES to eth2 of J7VCL.
812813
813814
tc -g class show dev eth0
814815
tc qdisc add dev eth0 clsact
815-
tc filter add dev eth0 egress protocol ip prio 1 u32 match ip dport 5002 0xffff action skbedit prior2
816-
tc filter add dev eth0 egress protocol ip prio 1 u32 match ip dport 5003 0xffff action skbedit prior3
816+
tc filter add dev eth0 egress protocol ip prio 1 u32 match ip dport 5002 0xffff action skbedit priority 2
817+
tc filter add dev eth0 egress protocol ip prio 1 u32 match ip dport 5003 0xffff action skbedit priority 3
817818
ip addr add 192.168.100.20/24 dev eth0
818819
819820
3. On J7ES, run the following commands:
@@ -1325,8 +1326,8 @@ CASE-3 is the same as CASE-1 and CASE-2 combined.
13251326
Frame sent by J7VCL with preemption on J7VCL Egress Port and Assembled on AM625-SK's (Switch) Ingress Port followed by preemption on AM625-SK's (Switch) Egress Port and Assembled on J7ES
13261327
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
13271328

1328-
Connect eth0 of J7VCL to eth0 of AM62a and eth0 of J7ES to eth1 of
1329-
AM62a
1329+
Connect eth0 of J7VCL to eth0 of AM625-SK and eth0 of J7ES to eth1 of
1330+
AM625-SK
13301331

13311332
**Steps:**
13321333

@@ -1436,7 +1437,7 @@ AM62a
14361437
ifconfig eth0.100 192.168.100.20 netmask 255.255.255.0
14371438
sleep 2
14381439
1439-
4. Run the following commands on AM62a (Switch):
1440+
4. Run the following commands on AM625-SK (Switch):
14401441

14411442
.. code-block:: console
14421443
@@ -1520,7 +1521,7 @@ On AM625-SK (Switch):
15201521
MACMergeFragCountTx: 50371
15211522
MACMergeHoldCount: 0
15221523
1523-
On AM64-SK (Receiver):
1524+
On J7ES (Receiver):
15241525

15251526
.. code-block:: console
15261527

0 commit comments

Comments
 (0)