3 Replies Latest reply on Oct 28, 2013 12:16 AM by allenhuang

    Could not initialise mbuf pool when execute kni to test DPDK

    jiexie Green Belt

      最近在测试Intel的DPDK,我用的是ver1.4,执行DPDK附带的examples中的kni时,总是出现如下错误

      EAL: coremask set to f

      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: Setting up hugepage memory...

      EAL: Ask a virtual area of 0x255852544 bytes

      EAL: Virtual area found at 0x7f1789400000 (size = 0xf400000)

      EAL: Ask a virtual area of 0x230686720 bytes

      EAL: Virtual area found at 0x7f177b600000 (size = 0xdc00000)

      EAL: Ask a virtual area of 0x50331648 bytes

      EAL: Virtual area found at 0x7f1778400000 (size = 0x3000000)

      EAL: Requesting 256 pages of size 2MB from socket 0

      EAL: TSC frequency is ~2594140 KHz

      EAL: Master core 0 is ready (tid=99297800)

      EAL: Core 1 is ready (tid=77bfe700)

      EAL: Core 2 is ready (tid=773fd700)

      EAL: Core 3 is ready (tid=76bfc700)

      EAL: memzone_reserve_aligned_thread_unsafe(MP_mbuf_pool, 311173440, 0No appropriate segment found

      EAL: Error - exiting with code: 1

      Cause: Could not initialise mbuf pool

      请问是什么原因,另如果网络设备被IGB_UIO绑定,如何能通过linux工具ifconfig等配置,是通过kni实现的吗?