Skip to content

Commit 64cf395

Browse files
MeghanaMalladiTIsadik-smd
authored andcommitted
fix(PRU-ICSS): Fix PRP test script with updates commands for AM57x
To test PRP offload/non-offload on ICSSM devices, the interfaces should be brought down and up to configure PRP interfaces. Update the test script to incorporate the same, for testing on AM57x. Signed-off-by: Meghana Malladi <[email protected]>
1 parent c77beeb commit 64cf395

File tree

1 file changed

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

1 file changed

+7
-0
lines changed

source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/PRP_Offload.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ The below script sets up a PRP interface with all possible offload functionaliti
5555
ip link set $if down
5656
ip link delete $if 2> /dev/null
5757
58+
ip link set $ifa down
59+
ip link set $ifb down
60+
sleep 1
61+
5862
if [ "$1" = "prp_hw" ]
5963
then
6064
echo "Available offload features for $ifa: "
@@ -85,6 +89,9 @@ The below script sets up a PRP interface with all possible offload functionaliti
8589
8690
ip addr add "$ip"/24 dev $if
8791
ip link set $if up
92+
ip link set $ifa up
93+
ip link set $ifb up
94+
sleep 1
8895
8996
To create PRP interface with IP address 192.168.1.10 using eth1 and eth2,
9097
run the script by passing the arguments as below

0 commit comments

Comments
 (0)