From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40049.outbound.protection.outlook.com [40.107.4.49]) by dpdk.org (Postfix) with ESMTP id 4501B1B5AA for ; Thu, 25 Apr 2019 16:18:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ArVez2BhKTHGghqVGbQj3uydD3r+xUEWmV2KccsL+JA=; b=Yu2I2gVs9h84b0F2yTFbDrwlz4GxR+Dh9wl5CjHkPBXO0bhvOeYg9NKQuFvz00kYy25Ao7NRWS4EIYx8cLpx4xVCaBYOCkbdS9/G+A2lP0aFKKAf9ftes8FFjw76l3cvlxa4rCkla8/3xzbn5tGfab1FaEPrEYR2wogJTrlC1CU= Received: from AM0PR08MB5138.eurprd08.prod.outlook.com (10.255.30.207) by AM0PR08MB4003.eurprd08.prod.outlook.com (20.178.119.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Thu, 25 Apr 2019 14:18:53 +0000 Received: from AM0PR08MB5138.eurprd08.prod.outlook.com ([fe80::7134:261b:1f22:f379]) by AM0PR08MB5138.eurprd08.prod.outlook.com ([fe80::7134:261b:1f22:f379%5]) with mapi id 15.20.1835.010; Thu, 25 Apr 2019 14:18:53 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" CC: "dev@dpdk.org" , "konstantin.ananyev@intel.com" , "stephen@networkplumber.org" , "paulmck@linux.ibm.com" , "marko.kovacevic@intel.com" , "Gavin Hu (Arm Technology China)" , Dharmik Thakkar , Malvika Gupta , Honnappa Nagarahalli , nd , nd Thread-Topic: [dpdk-dev] [PATCH v6 0/3] lib/rcu: add RCU library supporting QSBR mechanism Thread-Index: AQHU+GEDGjZxocb4x0ia29BvM8Tdd6ZKTVeg Date: Thu, 25 Apr 2019 14:18:52 +0000 Message-ID: References: <20181122033055.3431-1-honnappa.nagarahalli@arm.com> <20190417041359.45335-1-honnappa.nagarahalli@arm.com> <2742111.xWhxeopsW5@xps> In-Reply-To: <2742111.xWhxeopsW5@xps> 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=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8bb8134d-be9c-44d8-bb9e-08d6c988f1df x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR08MB4003; x-ms-traffictypediagnostic: AM0PR08MB4003: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0018A2705B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(366004)(396003)(136003)(376002)(39860400002)(199004)(189003)(5640700003)(72206003)(66556008)(4326008)(6916009)(99286004)(508600001)(8936002)(81166006)(8676002)(7696005)(1730700003)(81156014)(14454004)(68736007)(316002)(2501003)(71200400001)(54906003)(25786009)(71190400001)(2906002)(2351001)(446003)(11346002)(486006)(305945005)(74316002)(7736002)(33656002)(476003)(3846002)(6116002)(66066001)(229853002)(55016002)(26005)(97736004)(76176011)(6506007)(5660300002)(53936002)(9686003)(186003)(6246003)(52536014)(6436002)(66946007)(73956011)(76116006)(14444005)(256004)(102836004)(64756008)(66476007)(66446008)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4003; H:AM0PR08MB5138.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: heBU9PIW/IWedF0VBAY5LMxvm3Mu0wrnVEDsNNjGy2GQqjM37PnF0u4Ce2Cycfe86+de9TGmUBet159fNPYo707yjLkkvQPO3Ls037f7N6rRLDddR5zxnfq2QNUVhHJs7W1wIJDmjOGK1NurC5wMUO6z+/gTUgn5aMi1crGE12Nf/GTSKe/Rk0MXYpWbZbw5k9arH/oFTwcfLGLhgqetWiiiSYEbNSRvh6NNnmDc013W2xr0Wln2FVAcWXtSSLYCqchqkMbFx4K7j3WtVwwE2lc4yvoPyJGkawk5U7lpsaO6wR2FrsR96lIWLU6W5m2bE5+Y6ZvIiu8/IrHKAysClDYxRGashQxouaOV0jurUreYemhZSDOyh57VbAkXjE/J9CV1rwKzdkMu55HmR4lF41hZj8dqtBUY300s6lNmYJU= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bb8134d-be9c-44d8-bb9e-08d6c988f1df X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2019 14:18:52.9099 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4003 Subject: Re: [dpdk-dev] [PATCH v6 0/3] lib/rcu: add RCU library supporting QSBR mechanism X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2019 14:18:54 -0000 >=20 > 17/04/2019 06:13, Honnappa Nagarahalli: > > Dharmik Thakkar (1): > > test/rcu_qsbr: add API and functional tests > > > > Honnappa Nagarahalli (2): > > rcu: add RCU library supporting QSBR mechanism > > doc/rcu: add lib_rcu documentation >=20 > Sorry I cannot merge this library in DPDK 19.05-rc2 because of several is= sues: Apologies, we will improve our internal CI to add some of these compilation= s. > - 32-bit compilation is broken because of %lx/%lu instead of PRI?64 I am able to reproduce this issue. However, I am not able to run the applic= ation. Following is the log on x86, does anyone know what is happening? EAL: Detected 28 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Some devices want iova as va but pa will be used because.. EAL: vfio-n= oiommu mode configured EAL: few device bound to UIO EAL: Probing VFIO support... EAL: VFIO support initialized EAL: Cannot get a virtual area: Cannot allocate memory EAL: Cannot reserve memory EAL: Cannot allocate VA space for memseg list, retrying with different page= size EAL: Cannot allocate VA space on socket 0 EAL: FATAL: Cannot init memory EAL: Cannot init memory > - shared link is broken because of rcu_log_type not exported I am not sure what this is. Is this shared library compilation? Can you ple= ase let me know how to reproduce this? > - some public symbols (variable, macros, functions) are not prefixed with= rte For my understanding, are you referring to the following symbols? rcu_log_type RCU_DP_LOG - This is internal to the library, will change it to __RTE_RCU_D= P_LOG RCU_IS_LOCK_CNT_ZERO - Same as above __rcu_qsbr_check_selective __rcu_qsbr_check_all >=20 > I am not sure about getting it later in 19.05, it may be too late to merg= e a > new library. >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id BC0D0A05D3 for ; Thu, 25 Apr 2019 16:18:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 467FB1B5AC; Thu, 25 Apr 2019 16:18:55 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40049.outbound.protection.outlook.com [40.107.4.49]) by dpdk.org (Postfix) with ESMTP id 4501B1B5AA for ; Thu, 25 Apr 2019 16:18:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ArVez2BhKTHGghqVGbQj3uydD3r+xUEWmV2KccsL+JA=; b=Yu2I2gVs9h84b0F2yTFbDrwlz4GxR+Dh9wl5CjHkPBXO0bhvOeYg9NKQuFvz00kYy25Ao7NRWS4EIYx8cLpx4xVCaBYOCkbdS9/G+A2lP0aFKKAf9ftes8FFjw76l3cvlxa4rCkla8/3xzbn5tGfab1FaEPrEYR2wogJTrlC1CU= Received: from AM0PR08MB5138.eurprd08.prod.outlook.com (10.255.30.207) by AM0PR08MB4003.eurprd08.prod.outlook.com (20.178.119.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Thu, 25 Apr 2019 14:18:53 +0000 Received: from AM0PR08MB5138.eurprd08.prod.outlook.com ([fe80::7134:261b:1f22:f379]) by AM0PR08MB5138.eurprd08.prod.outlook.com ([fe80::7134:261b:1f22:f379%5]) with mapi id 15.20.1835.010; Thu, 25 Apr 2019 14:18:53 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" CC: "dev@dpdk.org" , "konstantin.ananyev@intel.com" , "stephen@networkplumber.org" , "paulmck@linux.ibm.com" , "marko.kovacevic@intel.com" , "Gavin Hu (Arm Technology China)" , Dharmik Thakkar , Malvika Gupta , Honnappa Nagarahalli , nd , nd Thread-Topic: [dpdk-dev] [PATCH v6 0/3] lib/rcu: add RCU library supporting QSBR mechanism Thread-Index: AQHU+GEDGjZxocb4x0ia29BvM8Tdd6ZKTVeg Date: Thu, 25 Apr 2019 14:18:52 +0000 Message-ID: References: <20181122033055.3431-1-honnappa.nagarahalli@arm.com> <20190417041359.45335-1-honnappa.nagarahalli@arm.com> <2742111.xWhxeopsW5@xps> In-Reply-To: <2742111.xWhxeopsW5@xps> 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=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8bb8134d-be9c-44d8-bb9e-08d6c988f1df x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR08MB4003; x-ms-traffictypediagnostic: AM0PR08MB4003: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0018A2705B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(366004)(396003)(136003)(376002)(39860400002)(199004)(189003)(5640700003)(72206003)(66556008)(4326008)(6916009)(99286004)(508600001)(8936002)(81166006)(8676002)(7696005)(1730700003)(81156014)(14454004)(68736007)(316002)(2501003)(71200400001)(54906003)(25786009)(71190400001)(2906002)(2351001)(446003)(11346002)(486006)(305945005)(74316002)(7736002)(33656002)(476003)(3846002)(6116002)(66066001)(229853002)(55016002)(26005)(97736004)(76176011)(6506007)(5660300002)(53936002)(9686003)(186003)(6246003)(52536014)(6436002)(66946007)(73956011)(76116006)(14444005)(256004)(102836004)(64756008)(66476007)(66446008)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4003; H:AM0PR08MB5138.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: heBU9PIW/IWedF0VBAY5LMxvm3Mu0wrnVEDsNNjGy2GQqjM37PnF0u4Ce2Cycfe86+de9TGmUBet159fNPYo707yjLkkvQPO3Ls037f7N6rRLDddR5zxnfq2QNUVhHJs7W1wIJDmjOGK1NurC5wMUO6z+/gTUgn5aMi1crGE12Nf/GTSKe/Rk0MXYpWbZbw5k9arH/oFTwcfLGLhgqetWiiiSYEbNSRvh6NNnmDc013W2xr0Wln2FVAcWXtSSLYCqchqkMbFx4K7j3WtVwwE2lc4yvoPyJGkawk5U7lpsaO6wR2FrsR96lIWLU6W5m2bE5+Y6ZvIiu8/IrHKAysClDYxRGashQxouaOV0jurUreYemhZSDOyh57VbAkXjE/J9CV1rwKzdkMu55HmR4lF41hZj8dqtBUY300s6lNmYJU= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bb8134d-be9c-44d8-bb9e-08d6c988f1df X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2019 14:18:52.9099 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4003 Subject: Re: [dpdk-dev] [PATCH v6 0/3] lib/rcu: add RCU library supporting QSBR mechanism X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190425141852.m4B1owiQtcgduTAuXMe3XTjjUozA1H-ga7W0jiAg5Mc@z> >=20 > 17/04/2019 06:13, Honnappa Nagarahalli: > > Dharmik Thakkar (1): > > test/rcu_qsbr: add API and functional tests > > > > Honnappa Nagarahalli (2): > > rcu: add RCU library supporting QSBR mechanism > > doc/rcu: add lib_rcu documentation >=20 > Sorry I cannot merge this library in DPDK 19.05-rc2 because of several is= sues: Apologies, we will improve our internal CI to add some of these compilation= s. > - 32-bit compilation is broken because of %lx/%lu instead of PRI?64 I am able to reproduce this issue. However, I am not able to run the applic= ation. Following is the log on x86, does anyone know what is happening? EAL: Detected 28 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Some devices want iova as va but pa will be used because.. EAL: vfio-n= oiommu mode configured EAL: few device bound to UIO EAL: Probing VFIO support... EAL: VFIO support initialized EAL: Cannot get a virtual area: Cannot allocate memory EAL: Cannot reserve memory EAL: Cannot allocate VA space for memseg list, retrying with different page= size EAL: Cannot allocate VA space on socket 0 EAL: FATAL: Cannot init memory EAL: Cannot init memory > - shared link is broken because of rcu_log_type not exported I am not sure what this is. Is this shared library compilation? Can you ple= ase let me know how to reproduce this? > - some public symbols (variable, macros, functions) are not prefixed with= rte For my understanding, are you referring to the following symbols? rcu_log_type RCU_DP_LOG - This is internal to the library, will change it to __RTE_RCU_D= P_LOG RCU_IS_LOCK_CNT_ZERO - Same as above __rcu_qsbr_check_selective __rcu_qsbr_check_all >=20 > I am not sure about getting it later in 19.05, it may be too late to merg= e a > new library. >=20