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 2E153A0599 for ; Sun, 19 Apr 2020 09:02:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0E0431C440; Sun, 19 Apr 2020 09:02:56 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id AF80B1C440 for ; Sun, 19 Apr 2020 09:02:54 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 8334FA05A0; Sun, 19 Apr 2020 09:02:54 +0200 (CEST) From: bugzilla@dpdk.org To: spp@dpdk.org Date: Sun, 19 Apr 2020 07:02:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: SPP X-Bugzilla-Component: main X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: vipin.varghese@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: yasufum.o@gmail.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [spp] [Bug 457] rte_mempool_create is based on lcore socketid and not the port socketid X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" https://bugs.dpdk.org/show_bug.cgi?id=3D457 Bug ID: 457 Summary: rte_mempool_create is based on lcore socketid and not the port socketid Product: SPP Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: Normal Component: main Assignee: yasufum.o@gmail.com Reporter: vipin.varghese@intel.com CC: spp@dpdk.org Target Milestone: --- File: ```src/primary/init.c``` line: 52 current:=20 ``` pktmbuf_pool =3D rte_mempool_create(PKTMBUF_POOL_NAME, num_mbufs, MBUF_SIZE, MBUF_CACHE_SIZE, sizeof(struct rte_pktmbuf_pool_private), rte_pktmbuf_pool_init, NULL, rte_pktmbuf_init, NULL, rte_socket_id(), NO_FLAGS); ``` expected ``` /* using rte_eth_dev_socket_id (uint16_t port_id)=20 a. identify the sockets and pool to be used=20 b. number of ports in same pool */ pktmbuf_pool[0] =3D rte_mempool_create(PKTMBUF_POOL_NAME_0, num_mbufs_0, MBUF_SIZE, MBUF_CACHE_SIZE, sizeof(struct rte_pktmbuf_pool_private), rte_pktmbuf_pool_init, NULL, rte_pktmbuf_init, NULL, 0, NO_FLAGS); ``` --=20 You are receiving this mail because: You are on the CC list for the bug.=