Please boot up Linux system with USDPAA dtb file fsl-ls1043a-rdb-usdpaa.dtb.
Please configure bootargs similar as the following.
root=/dev/mmcblk0p4 rw rootdelay=10 console=ttyS0,115200 ramdisk_size=0x10000000 nokaslr bportals=s0 qportals=s0 default_hugepagesz=2MB hugepagesz=2MB hugepages=448 nmi_watchdog=0 rcupdate.rcu_cpu_stall_suppress=1
root@localhost:~# fmc -x
root@localhost:~# mkdir -p /mnt/hugepages
root@localhost:~# mount -t hugetlbfs none /mnt/hugepages
root@localhost:~# export DPAA_FMC_MODE=1
root@localhost:~# fmc -c /root/dpdkfiles/usdpaa_config_ls1043.xml -p /root/dpdkfiles/usdpaa_policy_hash_ipv4_1queue.xml -a
root@localhost:~# export DPAA_NUM_RX_QUEUES=1
Executing testpmd application:
• For TX only:
./bin/testpmd -c 0x3 -n 1 -- -i --nb-cores=1 --portmask=0x1 --nb-ports=1 --forward-mode=txonly
--disable-hw-vlan --port-topology=chained
• For RX only:
./bin/testpmd -c 0x3 -n 1 -- -i --nb-cores=1 --portmask=0x1 --nb-ports=1 --forward-mode=rxonly
--disable-hw-vlan --port-topology=chained