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 06290A00C4 for ; Thu, 4 Jun 2020 19:23:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DACF01D5F2; Thu, 4 Jun 2020 19:23:30 +0200 (CEST) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by dpdk.org (Postfix) with ESMTP id 1497E1D5ED for ; Thu, 4 Jun 2020 19:23:28 +0200 (CEST) Received: by mail-pj1-f43.google.com with SMTP id k2so1410679pjs.2 for ; Thu, 04 Jun 2020 10:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QFxhHVc1V0sZ85zt2XcntyLwHxAKPPQZxhp53sbYrU8=; b=bFyieStF4+f6YYU2XFlVg6lsuYEUBn+k8bNCahFYd4z0ReXx51efrGqAME1/A3xLVu FDdWUZ9FtnojlGad2mNaAJFEknBceq/eArZgNrQgoK7u/Y4Qqyt4yIsuGM4gm6oYClWe tIvo03c762pGx1CgFPrhfDRSF0N2Du0EOveXVO4ZiZh97/Wrtg1deK3fE5BtVIMOoNAu kBQX2ayR9Cie2cSYLWdtXF+OU70ZZbyZdru/cYA4JvTxx8wXybvZ1VDi2kJU6O4Wk8Rm imALzfeZtBzLaeTfwLD6R3j//zq/A32e6PNwl0yVP8zgBv2eZVbFvwQ47UA74yuqodpn 7T8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QFxhHVc1V0sZ85zt2XcntyLwHxAKPPQZxhp53sbYrU8=; b=JxJDi+fg6qPZcUmf7FLJ7+fwi6hqmBnSIIIlxWIj3SaxxGlqtlwzrlwyupWb3ufrq3 65kyXZX9A4gWOUIh4+IAppCDvg7p1AFglzojeAKkSpvgOeq7igb3zIBo2I4+jUi/f99F 3GjrcMWiyIKsXhplxrIfa6tPlOiSTJiBp0g2cvP9gKEZHia2fQc8UqPneq3Aao91CyW4 ilg6sFIDv8SatCY3h7rGOKVYpGBIXt4G0owozGTmQzDFI4dr8gcoB7ftE4sVGA/BvqFB zgVC9fDUCPypKbSiRGEDF9bmwNinmYJ/Iv5YGAp0dcW1/zhb6rGcynwcB7eJf+emfRZc a2EQ== X-Gm-Message-State: AOAM530Al9AC4lZtYWctyd1kC4JT5NRkQrkcNwO2NtC8cLtvzedi8fDc YcI+QODVrAbPr6bgfNtiGQCU8A== X-Google-Smtp-Source: ABdhPJympVYlA1wUcwli6+5DG9mi764EDVBMErle28SuuNLxh/3mzMDTWOod/P2Y4TthG/38DirjEA== X-Received: by 2002:a17:902:be0e:: with SMTP id r14mr6035758pls.30.1591291407973; Thu, 04 Jun 2020 10:23:27 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h20sm4843775pfo.105.2020.06.04.10.23.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 10:23:27 -0700 (PDT) Date: Thu, 4 Jun 2020 10:23:19 -0700 From: Stephen Hemminger To: David Aldrich Cc: users@dpdk.org Message-ID: <20200604102319.146abf16@hermes.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: > 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