This example is a TCP/UDP IP application using the LwIP networking stack, coupled with ethernet driver (ENET)
==========================
ENET LWIP App
==========================
Starting lwIP, local interface IP is dhcp-enabled
CPSW_2G Test on MCU NAVSS
EnetPhy_bindDriver: PHY 0: OUI:080028 Model:23 Ver:01 <-> 'dp83867' : OK
PHY 0 is alive
Host MAC address: 70:ff:76:1d:ec:f2
[LWIPIF_LWIP] Enet has been started successfully
[LWIPIF_LWIP] NETIF INIT SUCCESS
status_callback==UP, local interface IP is 0.0.0.0
UDP server listening on port 5001
Cpsw_handleLinkUp: Port 1: Link up: 100-Mbps Full-Duplex
MAC Port 1: link up
link_callback==UP
status_callback==UP, local interface IP is 192.168.1.100
DUT side:
==========================
ENET LWIP App
==========================
Enabling clocks!
Starting lwIP, local interface IP is 192.168.1.200
CPSW_3G Test on MAIN NAVSS
EnetPhy_bindDriver: PHY 3: OUI:080028 Model:0f Ver:01 <-> 'dp83869' : OK
PHY 3 is alive
PHY 15 is alive
Host MAC address: f4:84:4c:f9:88:ca
[LWIPIF_LWIP] Enet has been started successfully
[LWIPIF_LWIP] NETIF INIT SUCCESS
status_callback==UP, local interface IP is 192.168.1.200
UDP server listening on port 5001
Cpsw_handleLinkUp: Port 1: Link up: 1-Gbps Full-Duplex
MAC Port 1: link up
link_callback==UP
5.117s : CPU load = 4.56 %
10.117s : CPU load = 2.76 %
15.117s : CPU load = 2.72 %
20.117s : CPU load = 63.94 %
25.117s : CPU load = 99.39 %
IPERF report: type=0, remote: 192.168.1.4:55209, total bytes: 115081240, duration in ms: 10026, kbits/s: 91824
30.117s : CPU load = 54.35 %
35.117s : CPU load = 28.18 %
IPERF report: type=1, remote: 192.168.1.4:5001, total bytes: 18892824, duration in ms: 10000, kbits/s: 15112
40.117s : CPU load = 12.56 %
45.117s : CPU load = 2.74
PC Side:
..\iperf-2.0.9-win64>iperf.exe -c 192.168.1.200 -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 208 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.200, TCP port 5001
TCP window size: 208 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.4 port 55209 connected with 192.168.1.200 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 110 MBytes 92.0 Mbits/sec
[ 4] local 192.168.1.4 port 5001 connected with 192.168.1.200 port 54911
[ 4] 0.0-10.0 sec 18.0 MBytes 15.1 Mbits/sec