ls1046 dpdk l2fwd problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ls1046 dpdk l2fwd problem

1,112 Views
1056957558
Contributor I

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

0 Kudos
1 Reply

1,064 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello he weizhen,

Please boot up the target board with dtb  fsl-ls1046a-rdb-usdpaa.dtb

Thanks,

Yiping

0 Kudos