This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: eth0 enable IET fail



https://software-dl.ti.com/processor-sdk-linux-rt/esd/docs/08_00_00_21/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/CPSW3g.html#intersperse-express-traffic-iet-frame-preemption-offload

To enable IET FPE with MAC Verify, do

ethtool --set-priv-flags eth0 p0-rx-ptype-rrobin off
ethtool --set-priv-flags eth0 iet-frame-preemption on
ethtool --set-priv-flags eth0 iet-mac-verify off
I have two boards of AM6442,and set IET FPE 

root@am64xx-evm:~# ip link set eth0 down
root@am64xx-evm:~# ip link set eth1 down
root@am64xx-evm:~# ethtool -L eth0 tx 2
root@am64xx-evm:~# ethtool -l eth0
Channel parameters for eth0:
Pre-set maximums:
RX:        1
TX:        8
Other:        n/a
Combined:    n/a
Current hardware settings:
RX:        1
TX:        2
Other:        n/a
Combined:    n/a
root@am64xx-evm:~# ethtool --set-priv-flags eth0 iet-frame-preemption on
root@am64xx-evm:~# ethtool --show-priv-flags eth0
Private flags for eth0:
p0-rx-ptype-rrobin  : off
iet-frame-preemption: on
iet-mac-verify      : off
cut-thru            : off
root@am64xx-evm:~# ip link set eth0 on
root@am64xx-evm:~# ip link set eth1 up
root@am64xx-evm:~# ifconfig eth0 192.168.1.10
root@am64xx-evm:~# ping 192.168.1.29

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
        inet 192.168.1.10  netmask 255.255.255.0  broadcast 192.168.1.255
        ether f4:84:4c:f9:59:b2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0