From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by dpdk.org (Postfix) with ESMTP id 31B4E2BA9 for ; Tue, 20 Sep 2016 01:18:51 +0200 (CEST) Received: by mail-oi0-f50.google.com with SMTP id w11so468717oia.2 for ; Mon, 19 Sep 2016 16:18:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=yqpgb9XuQfQ6tIJEMbJBZZHkXW24zzHmNbNdHN12r9I=; b=n2X07606/led4biwyQiuWaFBA/WEdBrjj2Sh9r5fMgj6QKzBY+WYW9PSz78se2LEqS qb6kyVlI7W5l2SgpAn5lPMi1kkndQyPpi8aw4V45OZmUd8BNWA4bH30820F7iP6A2qKI zGRMfDZ/5p+BRY4SihlNNYH1Ciu8g9mKd/vZzxc5PnBqW/TfUx4ya/fBswfQ2ZTAcaAq kwT2TodMx6wAX7x/Nsme1x8HzpEJRnGBkB1eTUjmeP+W66q36g+zjJ7lK6airuatcrNX nO/EvdWegbCoOfYULPaU2+VCBTU2RKACPPytB00sSN1oKf7U3/u8/V0zxDOVZfNgZ6Z5 6aPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yqpgb9XuQfQ6tIJEMbJBZZHkXW24zzHmNbNdHN12r9I=; b=GO/X/Fe4z0grxSByQWwLVHmVH49Mb1hFyekEUuxk6lbQntEAxwPv3dd3WQfMgRHzT+ w2sGBMRlMvX2DL9247FWbFdUjvRz830Nr2gPn+5qofAsGR2UYPBLTYzUrBRgtUfSxsWr uYncJaRSz5lPi7FDlx88y6MZXv69c9p+45dJyM8ERC94TlWZ1at2ZeJdq88Rw1+rPE84 +JO2m2vLpuIJZKrCHFdzPIesMaZpSM7//IOjArDtQso2OXFX33o4LOCbnN7S7wcOcKPw sGyZ6tKZA3S1jM07bDBeaXne9HxVJ2Rfv7oM8Wka+eyyhm10n/815tB0jXTXtBJaBqB/ CU/w== X-Gm-Message-State: AE9vXwMiFKoA/gQzgW1ghpOL2u2Oa4D2bIwlFAFNGzGcmVq34OT75i2lxlEj0hHDPjcbujzgBVqZ1gmSaVJpYA== X-Received: by 10.202.97.2 with SMTP id v2mr35146575oib.157.1474327130471; Mon, 19 Sep 2016 16:18:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.184.8 with HTTP; Mon, 19 Sep 2016 16:18:50 -0700 (PDT) From: John Pearson Date: Mon, 19 Sep 2016 16:18:50 -0700 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Multiple applications X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 23:18:51 -0000 hi all, I have eth0 and eth1 physical NICs and four core cpu. I am trying to run KNI along side of a dpdk application. I setup the hugepages: 2MB * 1024. Dpdk application: - Both eth0 and eth1 are bound to dpdk. - build a switch like program to pass packets between the dpdk NICs. - ran this: `./dpdkapp -c 0x0f -n 4 -- dpdkapp.conf` - dpdkapp is working as intended. KNI application: - I also want to use the regular linux programs like, ping, traceroute and others. - I ran the sample KNI application in the examples directory. - ran this: `./kni -c 0x0f -n 4 -- -P -p 0x1 --config="(0000:00:01,0,1)"` - KNI application is working as intended. Now when I want to run both these applications at the same time: - `./kni -c 0x0f -n 4 --socket-mem=1024 --proc-type=primary -- -P -p 0x1 --config="(0000:00:01,0,1)"` - `./dpdkapp -c 0x0f -n 4 --socket-mem=1024 --proc-type=secondary -- dpdkapp.conf` I get this error: EAL: memzone_reserve_aligned_thread_unsafe(): memzone already exists RING: Cannot reserve memory Could not allocate packet MBuf pools I even tried to make dpdkapp primary and kNI secondary, but I get same error. Thanks!