From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2598DA054D for ; Tue, 9 Feb 2021 21:10:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16448160750; Tue, 9 Feb 2021 21:10:24 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9CECC4014E; Tue, 9 Feb 2021 21:10:20 +0100 (CET) IronPort-SDR: UaOGESUsJmYSt046NuI/sJ/0aWa1gdxCIXlM/OSlY4RKWklAcFsoXKMMkIGXi8sbeWe+ifP7SD Sp/88ShJOAGQ== X-IronPort-AV: E=McAfee;i="6000,8403,9890"; a="169632044" X-IronPort-AV: E=Sophos;i="5.81,166,1610438400"; d="scan'208";a="169632044" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2021 12:10:15 -0800 IronPort-SDR: tojKb6TxtJzdLLIdET1vmP9uuoce8hFSDRtxY16dliT5lpyA/THBzEkyrHRfhk2IO7Dd3AVo04 5jrOx3Tiv04Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,166,1610438400"; d="scan'208";a="436389154" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga001.jf.intel.com with ESMTP; 09 Feb 2021 12:10:14 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 9 Feb 2021 12:10:14 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 9 Feb 2021 12:10:13 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Tue, 9 Feb 2021 12:10:13 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.177) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 9 Feb 2021 12:10:12 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eaUNSm24mwiXf9bMDCFN+XJ8L6ldagjujPwoUUYy4dHKVSeV2h+6FcYThXbOTOd8TImaeRO+gYH3W97sreCMNZe9EwgjlhoBng9K1e5H13FgpjEoVEDp3ywDdPRGrYbLmgHL1B3tVUR+LgBPwsDdnjL4FOHtRoCeNAfDrAlFTYmbdgoeJgOuKCHSo8VLUo+ja/GZedLZVnsU14SOOMuvo2ei0G8zEBdh74KrloUfVe4zVIh5yD4lTMJCkvMQ+qmcH8pWEbRczjgIdkrgP6fSWbEfluJTfw21Q5VQ9CxM4ChWHMJoc3KCkxsJ05pSlT/VT9QJl05sTwNJRQZpMaP1Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rtkDc1ngJojo5OySrFtky3ik67QBSX2/7gfJaH6gn+0=; b=EO4KIPKccywsQgl19eAcvLaf35tYyLOQahxTjNoQmk7I1WSpcDxhzlpcLy3fqh5cPmCkYIHIk4fSy4ABJfxekIttcIRlrCrk5BbbtCjwrl9u2hpuR+kEJKuP4ftCtcy06c+mSr0+/fF5gm/dKa8hGDLiRP3e75vNHNxwMkJppQO2aKhxS3RjTqOcZROYoUPTET/+RIEqzWco90388bwly5f8NcHAIo73QwHokzBE5lwzoKYP/udGZ2kec0h4R5GSdf8SZlrQrn+VfSWYFNBbVMZKf9m5cb8kieVScMFxJEk6wiXcoMXcew39uuz7UsQraTU+n1Bk8jqcb29b7so5kw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rtkDc1ngJojo5OySrFtky3ik67QBSX2/7gfJaH6gn+0=; b=HRzIIksHtn2sw7x8+XQfU3RicNUgsuLjW/RqW7Z3mzmdmtEgy39lEx1t5BDQjCYxswCkQLEzoOI1ISaHs1MpohtA3rBFq9KO1nz96tFURpUaFKd9Q9a1qBi+JQeea39w1h38FgmpNbnqna9dWpHaZGYYJepsLGvJEQTLm/fByEk= Received: from BYAPR11MB3814.namprd11.prod.outlook.com (2603:10b6:a03:fb::11) by BYAPR11MB3813.namprd11.prod.outlook.com (2603:10b6:a03:ff::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.25; Tue, 9 Feb 2021 20:10:08 +0000 Received: from BYAPR11MB3814.namprd11.prod.outlook.com ([fe80::3003:d67d:7be2:88a1]) by BYAPR11MB3814.namprd11.prod.outlook.com ([fe80::3003:d67d:7be2:88a1%6]) with mapi id 15.20.3846.025; Tue, 9 Feb 2021 20:10:08 +0000 From: "Pai G, Sunil" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "tredaelli@redhat.com" , "stable@dpdk.org" , Maxime Coquelin , "David Marchand" , "bluca@debian.org" Thread-Topic: [dpdk-dev] [PATCH] eal: fix detection of static or shared DPDK builds Thread-Index: AQHW/jg83i6jvOqkMkCg3LvSPWy8w6pPx6yAgAB396A= Date: Tue, 9 Feb 2021 20:10:07 +0000 Message-ID: References: <20210208163319.507567-1-bruce.richardson@intel.com> <20210209124951.GE1208@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20210209124951.GE1208@bricha3-MOBL.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [157.45.223.8] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3092b244-509a-45a0-c2ab-08d8cd36b289 x-ms-traffictypediagnostic: BYAPR11MB3813: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7JVSG6zLo7Y0d8P7VJogurdnVhkZ8VGQDab0aSJjhKXzTLle+vR5eKEtPsZ+n29ceU1LeBPohMLRv+RFa+8ZWAjWN0EADaaKyT8mrOK+ucX1h6Tls8xWPxXF/JxRGCO8E5xSuc9ZTXSlGJTrDxvCZ7XIWrlih59KAVPSu/N6cKyOAicIivgWHyImqNjI04VesvyZLCfyXSSeqIbzR1Mn/jwvgQG5k/10YPVJjui6ivTSJzTrja5OqxzVoSgX/xzRTXBkMJwa0jmhR/1TDL6c75GPgLF8Z7HgHSXca+9TsH929WVn6UHFmNKwitLzhennCovntxvIbTNO/q1z3FA9pWgkTcxIAIWPyJdIV1GMmTafwKr1/dySh9CWJPQ+PX3JhW4Vr33T8dDpP1I3yV6e3sGV7uCJBZcmpIU9ZiE6s2yjID/IAbayDH+syH9qAU03LjPj/Es6AiZtAa7Z7IBsL/6iD+NGnZKwPzopx/qxfT/R/6vdo4zwT7Gt33xI0C1nNLzBg185WYCljHqgyWq8pA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3814.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(376002)(136003)(346002)(39860400002)(396003)(2906002)(7696005)(33656002)(478600001)(6506007)(55016002)(83380400001)(9686003)(186003)(4326008)(26005)(71200400001)(66946007)(66446008)(86362001)(5660300002)(52536014)(76116006)(8676002)(8936002)(54906003)(110136005)(316002)(66556008)(64756008)(66476007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?J3CSuc1Ew4UccGsOI4n1RBjaLSkDY4WIcFncdnsTdOhe8k4jVEJfZsDH4Qts?= =?us-ascii?Q?uBzO5QqAkhxFuQQW939bhAitgjYSm0ji/XjkYpLG3opRXL0ZSKSt8BzGLxAn?= =?us-ascii?Q?235HO0Fr6Ita4CPPtOAibP/N7rJ6vCftDeHOIAHfiMDU/3SmZ+xv7MOb237v?= =?us-ascii?Q?0dFmVha7zyEBn5llcurHqYJsWJL28XIPMUOk8q0dSEnNbSH3t90sXGGmMKBv?= =?us-ascii?Q?CfTemvUKzFf9kUQTvQbzrbCkuTfG22DFkC1d96W5p5QfGjp9Ml0LwfIs8RfH?= =?us-ascii?Q?KDKJn/UDe9bYWET/GsOawehog92QttK/zJLBvdCOnt+qeOtueFfieXnmpp1l?= =?us-ascii?Q?k5jY/0GNZbwkluZQN4YJTdHmBLt7v6CyNPbYJJIM8KFIvkWi48EFkNLExHHI?= =?us-ascii?Q?P59q6nhdY1ldXFY2mr2Ogqh7YtHVQQLa1S6RxC2FGthHpTqn4gAymWwC3+7c?= =?us-ascii?Q?9OO/zoddE6UMSZQjMUP98u7XdmwSK9sdBVuGihc0M9f+1fOwp8T453zUWzHP?= =?us-ascii?Q?tgucv694p7KltvtMToaKPPLyvCym9Id+dsBCNNiQPeH157Uh6gNDC8AHAnpy?= =?us-ascii?Q?m1mo6FqrlaQeUPMn8CurG9fiqRU+o2bewcQuVJcRp7jcRLuris/W3A+FjIQd?= =?us-ascii?Q?HyhzcmeceZxX22Hj3ThuVTG4EKO94/t5UEBvMKIIIzWtQnkfuWQXeuURXeLC?= =?us-ascii?Q?3FasAaKyKbOipSjclBniVKlaxathfFdC50galMW0A2A6r68RuUCOA5oRciAn?= =?us-ascii?Q?tSslB8GSdYthfeBcXIizoUhBLRs8HQOHXy1JyVELlR+E8ABwKWv+hoxO3znD?= =?us-ascii?Q?UrSDxlspRUAXNJUHE6NFNd9uZr1s/TW1645sVPB3hzrUX5XYiWEZtx2rl9Gv?= =?us-ascii?Q?uQ6brVWWcZrFLZQrSGnlHbGaxQTs9+WI/v1LZXKGXUFoX4gD2yXtig1Fl6M4?= =?us-ascii?Q?6LzIlXkDrg2ff/FoGpIK1KfgBM4OaSFXeHhv3deMCTwfP9EvFOcopm6Csjqz?= =?us-ascii?Q?1LYz7Fy1tb52UKoToXgNZlBU+KY3dqSU7aBklNnDZUwtEMnfMR2iSjPtRnBT?= =?us-ascii?Q?WgfzIa/1XdE+XD9OXZUoZtL+O5n3MzgtN2YLbsyYlCB//hBZvcBOe0TtVl7I?= =?us-ascii?Q?D0BEgvsov4QOhY4WRA7hlX+6xhUVfGuDgWJGo0oYecR19b2rE9JoFH9ur1ry?= =?us-ascii?Q?GnMur3lPfwCr4x2jLbzZpX0C4xnt02/pI7yMPGTWdzjFeLYe4G104r4tGZYa?= =?us-ascii?Q?UGSQZy668WH2/VQBs3rPRDhr7qPzsad5vvPsHmyq0+VXBPmwZTKA6TWPcGz0?= =?us-ascii?Q?NMM=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3814.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3092b244-509a-45a0-c2ab-08d8cd36b289 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2021 20:10:07.9306 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /pt/XdOgITCSDlF56dJEiookzRavc/Uc3EMCYu7KJP6RWYrbHjlJzzV8AgL1rsmgwXE/612AhbmNfG07oFD/TA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3813 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] eal: fix detection of static or shared DPDK builds X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi Bruce, Thanks for the fix. I do see the issue mentioned when using DPDK shared libs with OVS and this = patch fixes it. However, I saw the issue only for system installed DPDK but not for directo= ry installed DPDK. =20 > I saw this issue with OVS, where I was getting weird failures about ports= not > being bound (in case of physical ports) or not being created (in case of = virtio > ports), when using a shared build. Since it's potentially serious, I'd ap= preciate > if someone can reproduce the issue and verify the fix so we can consider = it > for 21.02 inclusion. >=20 > To demonstrate this with regular DPDK, do a usual build of DPDK and then = do > "ninja install" to install system-wide. Then build an example app, e.g. > l2fwd, using "make" from the examples/l2fwd directory. Running the > example normally, e.g. ./build/l2fwd -c F00, leads to no drivers being lo= aded > or ports being found. Adding "-d /path/to/drivers" e.g. > "/usr/local/lib/x86_64-linux-gnu/dpdk/pmds-21.1" on my system works as > expected. This shows the driver loading is not correct. >=20 > After applying this patch and re-running "ninja install", l2fwd should ru= n the > same with and without the "-d" flag. >=20 > /Bruce Tested-by: Sunil Pai G