AnsweredAssumed Answered

METHOD TO SEE IPFORWARDING_APP BINARY IN T2080RDB-PC

Question asked by Vidya Sagar on Aug 30, 2016

Dear All,

 

 

We are using usdpaa uIamge and dtb file.

 

Ifconfig log

 

root@t2080rdb:/boot# ifconfig -a
fm1-mac9  Link encap:Ethernet  HWaddr 00:04:9f:03:cb:62  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:8 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Memory:fe4f0000-fe4f0fff

 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

macless0  Link encap:Ethernet  HWaddr 00:11:22:33:44:55  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-89-40-00-00-00-00-00-00-00-00-00-00  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

tunl0     Link encap:IPIP Tunnel  HWaddr   
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

We compiled fsl_sdk-v2.0 from the link: sdk/usdpaa/usdpaa-apps.git - User-Space Data-Path Acceleration Architecture Demo Applications 

 

Compiled for the T2080RDB-PC and got ipfwd_app.

 

Trying to run binary and getting following log:

 ./ipfwd_app 1..7
Found /fsl,dpaa/ethernet@0, Tx Channel = 802, FMAN = 0, Port ID = 1
Found /fsl,dpaa/ethernet@1, Tx Channel = 803, FMAN = 0, Port ID = 2
Found /fsl,dpaa/ethernet@2, Tx Channel = 804, FMAN = 0, Port ID = 3
Found /fsl,dpaa/ethernet@3, Tx Channel = 805, FMAN = 0, Port ID = 4
Found /fsl,dpaa/ethernet@9, Tx Channel = 801, FMAN = 0, Port ID = a
Found /fsl,dpaa/ethernet@8, Tx Channel = 800, FMAN = 0, Port ID = 9
Found /fsl,dpaa/ethernet@10, MAC-LESS node
Configuring for 1 network interface
Allocated DMA region size 0x1000000
ipfwd_app starting
Message queue to send: /mq_snd_1612
Message queue to receive: /mq_rcv_1612
Configured 10G port @ FMAN:0, MAC:9 as IF_IDX:89
Released 0 bufs to BPID 17
Data stashing: Enabled
Thread uid:0 alive (on cpu 1)
Thread uid:1 alive (on cpu 2)
Thread uid:2 alive (on cpu 3)
Thread uid:3 alive (on cpu 4)
Thread uid:4 alive (on cpu 5)
Thread uid:5 alive (on cpu 6)
Thread uid:6 alive (on cpu 7)
cpu hotplug daemon not running: No such file or directory

 

We are not getting any Rx and Tx counter increment value.

 

Please let me know what is the process to step forward to see ipforwarding application.

 

Thanks,

Vidya

Outcomes