Dear all, I am a beginner with DPDK. I just install it in fedora18 with two X540 Enthercards.
After compile it and run the testpmd I got the following message: ==================================================================== [root at localhost test-pmd]# ./testpmd -c7 -n3 -- -i --nb-cores=2 --nb-ports=2 EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on socket 0 EAL: Setting up hugepage memory... EAL: Ask a virtual area of 0x2097152 bytes EAL: Virtual area found at 0x2aaaaa800000 (size = 0x200000) EAL: Ask a virtual area of 0x2143289344 bytes EAL: Virtual area found at 0x2aaa2aa00000 (size = 0x7fc00000) EAL: Ask a virtual area of 0x2097152 bytes EAL: Virtual area found at 0x7fc6aec00000 (size = 0x200000) EAL: Requesting 1024 pages of size 2MB from socket 0 EAL: TSC frequency is ~1795673 KHz EAL: Master core 0 is ready (tid=af35b880) EAL: Core 2 is ready (tid=ad7f1700) EAL: Core 1 is ready (tid=adff2700) EAL: PCI device 0000:02:00.0 on NUMA socket -1 EAL: probe driver: 8086:1528 rte_ixgbe_pmd EAL: PCI memory mapped at 0x7fc6af128000 EAL: PCI memory mapped at 0x7fc6af361000 EAL: PCI device 0000:02:00.1 on NUMA socket -1 EAL: probe driver: 8086:1528 rte_ixgbe_pmd EAL: PCI memory mapped at 0x7fc6aef28000 EAL: PCI memory mapped at 0x7fc6aef24000 Interactive-mode selected Configuring Port 0 (socket -1) Configuring Port 1 (socket -1) Checking link statuses... Port 0 Link Up - speed 10000 Mbps - full-duplex Port 1 Link Up - speed 10000 Mbps - full-duplex Done testpmd> ======================================================================== Although I can get into the testpmd command mode, but it seems EAL fails to bind the socket on the PCI device. Therefore, when I run start tx_first and stp, no package forwarding as follow ===================================================================== testpmd> start tx_first io packet forwarding - CRC stripping disabled - packets/burst=16 nb forwarding cores=2 - nb forwarding ports=2 RX queues=1 - RX desc=128 - RX free threshold=0 RX threshold registers: pthresh=8 hthresh=8 wthresh=4 TX queues=1 - TX desc=512 - TX free threshold=0 TX threshold registers: pthresh=36 hthresh=0 wthresh=0 TX RS bit threshold=0 - TXQ flags=0x0 testpmd> stop Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 16 TX-dropped: 0 TX-total: 16 ---------------------------------------------------------------------------- ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 16 TX-dropped: 0 TX-total: 16 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 32 TX-dropped: 0 TX-total: 32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. ==================================================================== Can anyone tell me how to fix this? Thank you very much.