LS1046A dpdk DPAA

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

LS1046A dpdk DPAA

2,146 Views
hongyuanz
Contributor IV

 

root@localhost:~# export DPAA_NUM_RX_QUEUES=1
root@localhost:~# fmc -x
ueue.xml -aost:~# fmc -c usdpaa_config_ls1046.xml -p usdpaa_policy_hash_ipv4_1q
ERR : failed to load external entity "usdpaa_policy_hash_ipv4_1queue.xml"

root@localhost:~# fmc -c usdpaa_config_ls1046.xml -p usdpaa_policy_hash_ipv4_1queue.xml -a
ERR : failed to load external entity "usdpaa_policy_hash_ipv4_1queue.xml"

root@localhost:~# fmc -c usdpaa_config_ls1046.xml -p usdpaa_policy_hash_ipv4_1queue.xml -a

LS1046A platform DPAA_NUM_RX_QUEUES what is the most ..?

Tags (1)
0 Kudos
5 Replies

407 Views
zhangjian11111
Contributor I
您的问题解决了么?
0 Kudos

408 Views
zhangjian11111
Contributor I

root@localhost:~# cat /proc/cmdline
console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 root=PARTUUID=3ae690e4-04 rw rootwait default_hugepagesz=1024m hugepagesz=1024m hugepages=4 isolcpus=1-3 i ommu.passthrough=1 bportals=s0 qportals=s0

root@localhost:~# fmc -x
root@localhost:~# export DPAA_NUM_RX_QUEUES=1
root@localhost:~# fmc -c /usr/local/dpdk/dpaa/usdpaa_config_ls1046.xml -p /usr/local/dpdk/dpaa/usdpaa_policy_hash_ipv4_1queue.xml -a
root@localhost:~#
root@localhost:~#
root@localhost:~# dpdk-l2fwd -c 0x2 -n 1 -- -p 0x1 -q 1 -T 0 -b 7

EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-2048kB
EAL: No free hugepages reported in hugepages-32768kB
EAL: No available hugepages reported in hugepages-32768kB
EAL: No free hugepages reported in hugepages-64kB
EAL: No available hugepages reported in hugepages-64kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
dpaa: FMAN ports not available
dpaa: netcfg failed: /dev/fsl_usdpaa device not available
dpaa: Check if you are using USDPAA based device tree
EAL: No legacy callbacks, legacy socket not created
MAC updating enabled
EAL: Error - exiting with code: 1
Cause: No Ethernet ports - bye

0 Kudos

2,146 Views
hongyuanz
Contributor IV


root@localhost:~# dpdk-testpmd
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-2048kB
EAL: No available hugepages reported in hugepages-32768kB
EAL: No available hugepages reported in hugepages-64kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
dpaa: FMAN ports not available
dpaa: netcfg failed: /dev/fsl_usdpaa device not available
dpaa: Check if you are using USDPAA based device tree
EAL: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
EAL: Error - exiting with code: 1
Cause: No cores defined for forwarding
Check the core mask argument

0 Kudos

2,133 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please boot your target board with fsl-ls1046a-rdb-usdpaa.dtb, please configure bootargs as the following.

root=/dev/sda4 rw rootdelay=10 console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 isolcpus=1-3 default_hugepagesz=2m hugepagesz=2m hugepages=448  bportals=s0 qportals=s0

 

 

0 Kudos

157 Views
Diligent_06
Contributor I

你可以告诉我如何选择指定的.dtb文件进行boot吗?

0 Kudos