By building dpdk, my configuration is following:
#mkdir -p /mnt/hugetlbfs
#echo 448 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
#mount -t hugetlbfs nodev /mnt/hugetlbfs/
#export DPAA_FMCLESS_MODE=1
# fmc -c usdpaa_config_ls1043.xml -p usdpaa_policy_hash_ipv4_1queue.xml -a
#export DPAA_NUM_RX_QUEUES=1
Then, I run l2fwd,
#/l2fwd -c 0x3 -n 1 -- -p 0x1 -q 1
And I encountered the following problem:
EAL: Detected 4 lcore(s)
dpaa: FMAN ports not available
dpaa: netcfg_acquire failed
EAL: Scan for (dpaa_bus) bus failed.
EAL: Probing VFIO support...
EAL: VFIO support initialized
MAC updating enabled
EAL: Error - exiting with code: 1
Cause: No Ethernet ports - bye