From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 84D0CA00C4 for ; Fri, 5 Jun 2020 11:43:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2BAD71D5E9; Fri, 5 Jun 2020 11:43:37 +0200 (CEST) Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) by dpdk.org (Postfix) with ESMTP id 979141D5E2 for ; Fri, 5 Jun 2020 11:43:35 +0200 (CEST) Received: by mail-io1-f54.google.com with SMTP id y18so9592296iow.3 for ; Fri, 05 Jun 2020 02:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PLSBnaO1I1o1k34qXJNNAMAkzDWjxDImKYeBksZdMvI=; b=esqghQRq1Dez8pLSrX3VQXFdxlOBsIvLDNEBriF0qpedoZJCSpm2AGT6d+5Sj5vAxd av8O1hIdt1QG69C2itEXj07yzvs8szAsmAW9xnXoG2TAWMcdtrerAzV735ngwR1BKVbk stQyJHo1O/24vyhMZFT5RRsePugJ1B6ggyUUHF8+9PSgLhEjcBoVFXmLj/1jLNt5S28/ V2kI6DObL/mbL7r8iR2V6Bdo0Mb2I2uzQvln2JQfsljagGsVn8FNaiuXUQS87cTYr2Xh 7C4MON1osHekHrMQfm6jXrMHdLrNK9PXTZEi6tKEpgsQTXevqKXblHWgFqKQt+O7sBiO 1DAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PLSBnaO1I1o1k34qXJNNAMAkzDWjxDImKYeBksZdMvI=; b=BEyBzDIogRKCy5DS8LuHR15Tx8pjdpDwDYcjP7mQg9znjKjXHbIP1crU/rPWVx9v7s Dd0p9cDfKZNQM2YVDy0HjvBMWqxRDpm/S4WUquTZLkVtgZPDoOWNchjgc4HQptCgzNwN kxq6vnqkPAJpJg7hBJx909snBI58Zjl6ye92XvIwG5nElYKVcrYcO6NbAaZ7hPg9CqMn +i/wk4BMoMMIta4fFK1gXU0KdfC2o5ncR7qr0gw9JOIpzRlBArDhUSt6q0yR6+Cn4dN2 Ghy/+fd1nvI8DVTOQzFLVfRKIWfmxsMrqaPMrl1EL6DMnVmjHZJl6LWq07sRTnFK5dtV slDw== X-Gm-Message-State: AOAM530k8DCkppxcKc4j0n82empP/w6W2HosjhiwQqzBlJP4bzQ9qPVH YCMN6NuyWd6H+12oTvNObUSOA8CCPO58VyrgcAkPYyww X-Google-Smtp-Source: ABdhPJwYE+FzDZajnqAaRpQL0apVUoqGgf0zivl52p1nfKCIHsXXX1v5Jwj2P+DpPgAPeHTIh3PMtqtLXF2CVMrI0pY= X-Received: by 2002:a5d:88c5:: with SMTP id i5mr7543387iol.137.1591350214574; Fri, 05 Jun 2020 02:43:34 -0700 (PDT) MIME-Version: 1.0 References: <20200604102319.146abf16@hermes.lan> In-Reply-To: <20200604102319.146abf16@hermes.lan> From: David Aldrich Date: Fri, 5 Jun 2020 10:43:23 +0100 Message-ID: To: Stephen Hemminger Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] 'MBUF: error setting mempool handler' X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" > > On Thu, 4 Jun 2020 17:50:18 +0100 > David Aldrich wrote: > > > > You should not be using 8.08 is not a Long Term Stable release. It is not > supported. > > I'm using 18.08 LTS > You should be using rte_pktmbuf_pool_create() rather than > rte_mempool_create(). > Lots has changed in the years since 2.2.0 > Sorry, I made a mistake. The error: MBUF: error setting mempool handler occurs in: mp = rte_pktmbuf_pool_create( buf, NB_MBUF, 32, 0, RTE_MBUF_DEFAULT_BUF_SIZE, iCpuSocket); Any advice please? On Thu, Jun 4, 2020 at 6:23 PM Stephen Hemminger wrote: > On Thu, 4 Jun 2020 17:50:18 +0100 > David Aldrich wrote: > > > I am using some DPDK application code that worked with DPDK 2.2.0. I am > > trying to port it to DPDK 18.08. The code gives error: > > > > MBUF: error setting mempool handler > > > > > > I guess the app code that causes this is: > > > > ptRxQueInfo->pool = rte_mempool_create(buf, > > > nb_mbuf/2, > > > MBUF_SIZE, > > > 0, > > > sizeof(struct rte_pktmbuf_pool_private), > > > > > > rte_pktmbuf_pool_init, > > > NULL, > > > rte_pktmbuf_init, > > > NULL, > > > iCpuSocket, > > > 0) > > > > > > I really don't know how to fix this. Any suggestions please? > > You should not be using 8.08 is not a Long Term Stable release. It is not > supported. > > You should be using rte_pktmbuf_pool_create() rather than > rte_mempool_create(). > Lots has changed in the years since 2.2.0 > >