Hello, I have been trying to run the example program of DPDK namely l2fwd. I have initialized the EAL environments. When I execute the l2fwd program I get error as below.
The error is its failing to initialie mbuf pool. [root at localhost app]# ./l2fwd -c 2 -n 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: Detected lcore 3 as core 3 on socket 0 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 4 lcore(s) EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7ff848200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7ff847e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7ff847a00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7ff847600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7ff847200000 (size = 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7ff846c00000 (size = 0x400000) EAL: Requesting 7 pages of size 2MB from socket 0 EAL: TSC frequency is ~3192615 KHz EAL: Master lcore 1 is ready (tid=48625880;cpuset=[1]) EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL: probe driver: 8086:1533 rte_igb_pmd EAL: PCI memory mapped at 0x7ff848400000 EAL: PCI memory mapped at 0x7ff848500000 PMD: eth_igb_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x1533 EAL: PCI device 0000:05:00.0 on NUMA socket -1 EAL: probe driver: 8086:100e rte_em_pmd EAL: Not managed by a supported kernel driver, skipped EAL: PCI device 0000:06:00.0 on NUMA socket -1 EAL: probe driver: 8086:10d3 rte_em_pmd EAL: PCI memory mapped at 0x7ff848504000 EAL: PCI memory mapped at 0x7ff848524000 EAL: PCI memory mapped at 0x7ff8485a4000 PMD: eth_em_dev_init(): port_id 1 vendorID=0x8086 deviceID=0x10d3 EAL: Error - exiting with code: 1 Cause: Cannot init mbuf pool Please let me know if I am missing anything. Regards, Arun Raj
