I am trying to configure all 4 cores to corresponding 4 ports of LS1046ardb kit for l2fwd application of dpdk.
l2fwd -c 0xf -n 1 -- -p 0xf
following error appears.
./l2fwd:process_portal_map(): Unknown error -1
dpaa: qman_thread_init failed on core 3 (lcore=3) with ret: -1
ioctl(DPAA_IOCTL_PORTAL_MAP): No such device
./l2fwd: process_portal_map(): Unknown error -1
dpaa: qman_thread_init failed on core 2 (lcore=2) with ret: -1
l2fwd tells you that it cannot find a free SW portal to assign to one or more cores.
Make sure you followed LSDK User Guide Section 9.2.4.1 paying attention to
the presence and the value of qportals and bportals kernel parameters and to the
correct Device Tree file selection.
Hope this helps
Platon