From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f65.google.com (mail-oi0-f65.google.com [209.85.218.65]) by dpdk.org (Postfix) with ESMTP id 5752958DF for ; Sun, 31 Jul 2016 07:39:34 +0200 (CEST) Received: by mail-oi0-f65.google.com with SMTP id c199so11290581oig.1 for ; Sat, 30 Jul 2016 22:39:34 -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=wE8ioWFOY2uLLo2xF26Ol3bU/6qL8JB/7aeLelkROFA=; b=KosLZJBS3qQ4MY4LI7VyYaQQY0Xxwsq/TSWBt7fYoBC8MNONLoz9UVJ6SRxSbYLL7m 2qZjBmGlZ0kuQJgBQvp3KNXSE3Ul90hFcbjzrNA9/Znc2Ja3W/98hK69zCPwmvpiTPaS 88hyCl5ZZTi/AJS/oidpnDBYGlYJDcrZopN+40Zdd7hn2kc78zKZDvUzm1YrOgbS1eZY RN4aOjBoPkfaYMBeUYEGvfpJvqFgJxUj1mtFK5sseSMZ9EjSwNeZlpGsMiurJGFaPmKN paW1XBmZfMiwUpEAXqQPiisAhGV0dLjSCswXLXnu1tkk/XqsZ3Wzo7tDpvHq2uESsNZo zG6w== 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=wE8ioWFOY2uLLo2xF26Ol3bU/6qL8JB/7aeLelkROFA=; b=YaHYXEiGbDfumUjh7RXPxuQBfoh/MfbK7KIuu0nIAJwlRLim4so0w5mAqfxc1J9Ovp 99qO9tRO3GW4bIP5B/SXyA+5cRtfFrD6tq9+WhJPXN6lAc4kBJw/PEALsK8RX/fOooKo 6BoJHG/7JxUUkXG3uTe1KUhWjzu89BWE9QMO1ehcciNdL+1uaAk4dLEGFbMlHH4QzRTC L+k7vDI4xaD+8t8I1QeyHoYItcQ1ilZsaFGq+NWowY9ujSOgLKwx667FPEQdQYwim2oo 2PQD/Sh2zrRHMWs/FNaxG64wtGYLhx8yr9IThnz+SDsT2YbY1r1+XYykkTeOZ53tqoUJ B99g== X-Gm-Message-State: AEkooutKL8FX4LAMAqLOzv8cmqfM/F26defCw7DYOgG0VN2NbyryF1k694bHQgKWpHhJ2zJPo/Khl1ZBB2Ui3A== X-Received: by 10.157.46.33 with SMTP id q30mr31456930otb.121.1469943573514; Sat, 30 Jul 2016 22:39:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.24.7 with HTTP; Sat, 30 Jul 2016 22:39:33 -0700 (PDT) From: Gopakumar Choorakkot Edakkunni Date: Sat, 30 Jul 2016 22:39:33 -0700 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] dpdk 16.07, issues with rte_mempool_create and rte_kni_alloc() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2016 05:39:34 -0000 Hi all, So 16.07 seems to have an rte_mempool_create() which can allocate items from multiple memzones (commit d1d914eb), which is awesome and is the reason I upgraed to 16.07 !! But .. when I call rte_kni_alloc() with the mempool as parameter, theres a check in there which says below /* KNI currently requires to have only one memory chunk */ if (mp->nb_mem_chunks != 1) goto kni_fail; And I hit that check because I am allocating a large mempool that happens to span multiple memzones. I am perfectly fine with allocating a seperate mempool just for KNI, except that I am unable to find any API or a flag or some setting which says "create me a mempool that doesnt span memzones", just so that I can use it with rte_kni_alloc() Any suggestions will be helpful ! Rgds, Gopa.