From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70070.outbound.protection.outlook.com [40.107.7.70]) by dpdk.org (Postfix) with ESMTP id 1E98A683E for ; Thu, 6 Dec 2018 08:18:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d0oEVuLM0mQBDs0D3iOYJ5mcK7WzK5tqaXd5D3TlDBk=; b=bqWI6fC+0+NRpaWhaqlaDJPtoO93W3/nIXFXGSGhcgRdnIi3sYTZDHS9+nMd+NWoJcyQComtxhUjbcjn3Of4CgYGk2UqVxHm55bSK+wVbgrm0qzuhcV3zI+qmBgwmAogwJwg+Il7gQKogi/005eiEzI6g5DuBvdHXBcAMRdeFGY= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB5066.eurprd05.prod.outlook.com (20.176.236.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.17; Thu, 6 Dec 2018 07:18:53 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f59c:f6f0:665b:8b16]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f59c:f6f0:665b:8b16%4]) with mapi id 15.20.1361.019; Thu, 6 Dec 2018 07:18:53 +0000 From: Shahaf Shuler To: Tom Barbette , Yongseok Koh CC: "users@dpdk.org" Thread-Topic: Unregistered mempool in secondary Thread-Index: AQHUjO2LmQco5PWHo0uingmMOU1mvKVxTSag Date: Thu, 6 Dec 2018 07:18:53 +0000 Message-ID: References: <1544053277210.30241@kth.se> In-Reply-To: <1544053277210.30241@kth.se> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB5066; 6:3YerRiC2E4gdKQAADI3i0ajq+NbQSpPM3qIEHV8nEai6Odhk++ULgnTRrI82nGbzx9bOeHRfd3M6hgUHwnc0rxCH1OxOBdnTjH1mqBKK8yZYMl/oWAqEHUt+ea5GdXNFpiCmRz8cdSzngYu+GHDx5/GJVRw2a/ElQ7BSrB+w2PMpVvVPXz5YIMFJ8yyIb3XGwVY6L70WQIrLkrbb4EV43GI4oL83lZMuRWpTKK86rpUk1M6i/EYn6Jl2E3iAt+0Etk8FS4e5kl4jmPNWiVy1L2VfJCJNw47yUrB/4RegfoeKhPHHiSWL35aXgv/RuwtD0I2Dgo8/pecI8wwZz+FwijsAGhF83xx3HLayh2PRKsbTFB9copHbI4aA+E0HZZOloivGAyncL20uw/6MVSIfhlfLNOzAbI/qn0oR/bm7Z4M5UxQz14xB0KN+ZoRjXtRsotNjVfhkg+lDFqOB9uGHXQ==; 5:4TOCNJS9AnY2rFjga0bK0DIo5cyqC/M+x0u3yCj3iLcHtPDply0uyZzc92vL1zC4kFWUpIj7CwATCeExUCNQ1fErbOMg0Zy9IBwTn1ic+IaBSlGIloYB0x+1VikYyF315nb5a9mxiPyxKtAPFc6a9k7FJQhmdtAQLIAeJKYX+lI=; 7:U7SgNVWEMCmrS+Edq7yYPRlF1bIART9Xhk+vP4yEO18151xBj1mFseU+hRvgpLKPzd6EprWDfTeABCsiK72UTb0GV8CFs5vteujmsZ5ZJy43/u+Q6+BsEWf1+Kk4lx16Nj5p6rVtNCvLE3ycy/rCHQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 1b155d3f-1b3f-4ba3-ab85-08d65b4b13f4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB5066; x-ms-traffictypediagnostic: DB7PR05MB5066: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231455)(999002)(944501520)(52105112)(93006095)(93001095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB5066; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB5066; x-forefront-prvs: 087894CD3C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(346002)(39860400002)(366004)(136003)(199004)(189003)(316002)(105586002)(7696005)(106356001)(790700001)(6116002)(74316002)(3846002)(76176011)(66066001)(6636002)(14454004)(14444005)(25786009)(478600001)(71190400001)(256004)(3480700005)(86362001)(6246003)(4326008)(71200400001)(33656002)(9686003)(486006)(55016002)(6306002)(54896002)(53936002)(97736004)(102836004)(6436002)(5660300001)(2906002)(68736007)(110136005)(229853002)(7736002)(81156014)(81166006)(8936002)(8676002)(99286004)(6506007)(26005)(53546011)(186003)(476003)(446003)(11346002)(9326002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB5066; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: gA3Z4uTCG3YHXd/UvMoFrc14DoI03XqadLR5UUCHsgim13AK6g96i25UM8lkzH3xMxO2pHai2uGU8kH3JvLjpg152uAKn6DKM6bhTBv3h7x0FuQ+fjvKB4T1D2vJTXcVBPX/CyPH52Txsc1tNLvhEqWt1evsxvnWuN58Z5tBUVOzCrjPVgMvMjkNLmpJrOg0XjcDCBD1X4Lgl/x6kKLYBljKohp4Xdl4I4DM+YBj4jPCbfetdWevywipovZSJLRztTPUZ3USwyiMyvc7v0BUzf09aAocnYBxvjY1f1X5EYUctEOtUaSz839Imm9M7FrKKpMhsPpPel2KQHksSO8HvaKB97UgxtVYGAEIIvn56ic= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b155d3f-1b3f-4ba3-ab85-08d65b4b13f4 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2018 07:18:53.3886 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB5066 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Unregistered mempool in secondary 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: , X-List-Received-Date: Thu, 06 Dec 2018 07:18:55 -0000 Hi Tom, There is a complete isolation between the resources of each port. Meaning, mempool cannot be registered on one port and be used on the other = (w/o explicit registration). In order your solution to work, the primary process needs to probe both por= ts, so that the mempool_walk will happen on both and the pool will be regis= tered to both. From: Tom Barbette Sent: Thursday, December 6, 2018 1:41 AM To: Shahaf Shuler ; Yongseok Koh Cc: users@dpdk.org Subject: Unregistered mempool in secondary Hi mlx5 maintainers, Since we're using a second ConnectX 5 NIC plugged to our second CPU socket,= we see the following message when flowing packets through that port : net_mlx5: port 1 using address (0x6000712742c0) of unregistered mempool in = secondary process, please create mempool before rte_eth_dev_start() The secondary process has all of the primary process pools registered via r= te_mempool_walk (2 as we have 2 numa nodes). But that address in the error = message is actually not between any of the pool->mz->addr_64 + pool->mz->s= ize range. So maybe this comes from an automatically created pool of the pr= imary ? If so, how can we force it to be created before we call eth_dev_sta= rt? We think the only change is that the second port is now a dedicated NIC on = the second socket, instead of the second port of the same NIC on the first = socket. But we are not 100% sure this is the triggering event. The same tes= t worked before, still with DPDK 18.08. Thanks, Tom