Hello 克祥 黄,
I didn't find obvious problem in your description, please check the package catching tool on the PC.
In addition, no need to run "/usr/local/share/dpdk/usertools/dpdk-setup.sh"
Please refer to the following procedure which I got from the testing team.
#cat /proc/cmdline
root=/dev/mmcblk0p4 rootdelay=5 rw console=ttyS0,115200 ramdisk_size=0x10000000 bportals=s0 qportals=s0 isolcpus=1-3 default_hugepagesz=2MB hugepagesz=2MB hugepages=448 nmi_watchdog=0 rcupdate.rcu_cpu_stall_suppress=1
# umount -l /mnt/hugepages
umount: /mnt/hugepages: not mounted.
# mkdir -p /mnt/hugepages
# mount -t hugetlbfs none /mnt/hugepages
# export DPAA_FMC_MODE=1
# fmc -c /root/dpdkfiles/usdpaa_config_ls1043.xml -p /root/dpdkfiles/usdpaa_policy_hash_ipv4_1queue.xml -a
# export DPAA_NUM_RX_QUEUES=1
# /root/dpdkfiles/l2fwd -v -c 0xc -n 1 -- -p 0xc
EAL: Detected 4 lcore(s)
EAL: RTE Version: 'DPDK 17.11.2'
EAL: DPAA Bus Detected
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0001:01:00.0 on NUMA socket -1
EAL: Invalid NUMA socket, default to 0
EAL: probe driver: 8086:10d3 net_e1000_em
PMD: Using FMC script mode,Make sure to use DPDK supported FMC scripts only.
PMD: net: dpaa: fm1-mac1: 00:e0:0c:00:73:00
PMD: net: dpaa: fm1-mac2: 00:e0:0c:00:73:01
PMD: net: dpaa: fm1-mac3: 00:e0:0c:00:73:02
PMD: net: dpaa: fm1-mac4: 00:e0:0c:00:73:03
PMD: net: dpaa: fm1-mac5: 00:e0:0c:00:73:04
PMD: net: dpaa: fm1-mac6: 00:e0:0c:00:73:05
PMD: net: dpaa: fm1-mac9: 00:e0:0c:00:73:06
PMD: dpaa_sec-7 cryptodev init
PMD: dpaa_sec-8 cryptodev init
PMD: dpaa_sec-9 cryptodev init
PMD: dpaa_sec-10 cryptodev init
MAC updating enabled
Lcore 2: RX port 2
Lcore 3: RX port 3
Skipping disabled port 0
Skipping disabled port 1
Initializing port 2... done:
Port 2, MAC address: 00:E0:0C:00:73:02
Initializing port 3... done:
Port 3, MAC address: 00:E0:0C:00:73:03
Skipping disabled port 4
Skipping disabled port 5
Skipping disabled port 6
Checking link statusdone
Port2 Link Up. Speed 1000 Mbps - full-duplex
Port3 Link Up. Speed 1000 Mbps - full-duplex
L2FWD: entering main loop on lcore 3
L2FWD: -- lcoreid=3 portid=3
L2FWD: entering main loop on lcore 2
L2FWD: -- lcoreid=2 portid=2
Thanks,
Yiping