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 14886A0542; Thu, 13 Feb 2020 14:56:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCA261BFEB; Thu, 13 Feb 2020 14:56:09 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70051.outbound.protection.outlook.com [40.107.7.51]) by dpdk.org (Postfix) with ESMTP id 63F491BFE5 for ; Thu, 13 Feb 2020 14:56:08 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EbUsoXiuGf5kEBPtstOZ/oMSiIWTb9K5sPa5TwxIQzu6tbEhif54JWUzzqK7bo5dgGThTi/ggh+BA5H5hvB2DjgXfu4zlOWQkPdac3FyFRQjLrGENRX8F3kcO4cfdQrgXvQaa+S5gB4bEnD/xSn32XDPVHmD9mnIstjF1Xk+75+CJFB/F+m9sYi7QW302TaCtx/PArNJeKrK7QPjFa1q3LD48IYkZbn1K1XQtGpDkQVKR9Ieu0ANQCPgvvcjY3bv9RSazzd2ycGcmQj/yytm9+bE9FH3za565omDb0VRuXC7ROY6vgnrOl7jJmzh03cW1kr/xt2J6su4vLxiOl+ihQ== 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=UoLe8qLSNnEQsdVWVFYvc2LDJtQSNnvDb9mQvKQYB50=; b=KOqYbNZzawrOZJxDW5oPfFDUjyilpqmw6xkqmDMBCU9VJvp3jGmEac6cxHyI2wClzT3D/4wdMYTCPVW6+dcdMhr9rl5EaRQP4af5cbDzMK6FTocg9gGANPFtzWj2bLIruh8ppi0q8anNcy0hIshDjm5znJHDWsNGuILYxM4DhxHg7ki7KEdHqki8N9zwQWFjQk2sMnWwaSmP6RrUmKGim8lXJMyRc+HlIBiFF90ohW7tsJKRW/XACoZ8IaWiWHXLt0ZpPkJMtMqTUNAt2/uV/i9Ql3E5+WgujzefBZZ5AX79rmOi138oIDhWMDHjb2lW03H9054GOaxY7547sulFMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none 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=UoLe8qLSNnEQsdVWVFYvc2LDJtQSNnvDb9mQvKQYB50=; b=HD3kUO2E6EYmSAQsfOtPxROSmOYR7w764trboEDk/vBKGCLd74Iuz5jVK18aH5TzCbyTanfAmDftkROadxg91F+LURZ3hFjMUJ+iDhp4dyBHp7jb+zO19UTMAIkVrEVZBGYVI6kPaHnjcLen2Z7ghDT1QO7f1to7aSeE8PAY9sg= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB4148.eurprd05.prod.outlook.com (52.134.95.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25; Thu, 13 Feb 2020 13:56:07 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9%7]) with mapi id 15.20.2729.021; Thu, 13 Feb 2020 13:56:07 +0000 From: Raslan Darawsheh To: Matan Azrad , "dev@dpdk.org" CC: Slava Ovsiienko , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] common/mlx5: fix dlopen meson build Thread-Index: AQHV4A2Ak3EnL+gClk2MtDI2PPRYuqgZKoEg Date: Thu, 13 Feb 2020 13:56:07 +0000 Message-ID: References: <1581337654-7893-1-git-send-email-matan@mellanox.com> In-Reply-To: <1581337654-7893-1-git-send-email-matan@mellanox.com> 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=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 23836dc6-8867-4450-8799-08d7b08c794f x-ms-traffictypediagnostic: AM0PR05MB4148:|AM0PR05MB4148: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2449; x-forefront-prvs: 031257FE13 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(136003)(376002)(39860400002)(366004)(189003)(199004)(5660300002)(52536014)(71200400001)(9686003)(55016002)(66946007)(33656002)(86362001)(76116006)(4326008)(66476007)(316002)(186003)(54906003)(110136005)(53546011)(6506007)(8936002)(8676002)(2906002)(66446008)(81156014)(64756008)(66556008)(81166006)(478600001)(26005)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB4148; H:AM0PR05MB6707.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 60U/6Cyn6sJiZwQ7MGdUGgvrQV9hLbbzIL3ejUK1DtqGhdr/Cz7TrS562EmwCuo58PajF6sDShwFDdkTK5VjJyThJhVGMI8xzZc3/3NsS1TEv55Jmwx+C0L2A+MPfoj0oepzm8hCWRvUnMnriKEFAIgFyvoesoB6oSsy6bHxR4RyFBHA0/pxmB/HkxCSVs8XEu50tmefK3DzjFyZWXLcCYfRUdozYGRT/eLWjhF9vMJlmKkAJkMrrNhl+5pmMRT9dmfBMufrsdyaqVBcwbRX9CgkkwuuMl+S9d3ebCExhbLAg5oIU3h/2ur5is5QjQjCXf8ZY5JDKpmeAqoIr5skYJ9mNVabUSRkHLUF3gmAO8gQYEYv84v7SoOOACsbd19eU1hWTH5YFx32V1LIe+ZSmCUtLIgwCFuwIMXbTZPyZg5NWBsn93+JFu+CdCrNy0lu x-ms-exchange-antispam-messagedata: Mc7eY5BK4VJad1QBZRhtTRhV8r3JBhuC64SEtp+3QbAvO3X4co3e42IIDbK0PvrKPXJnIhFVpNhPvk/cPWzZ+/LpNXBj6IYpVraximbausEAjJnuts4H5uahF+z1pTCs3mzlgju7vT06a6IEJrrDRw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23836dc6-8867-4450-8799-08d7b08c794f X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2020 13:56:07.2613 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UfOi1QT287Aw3pkrMQZIHafTEl4j4D9TFHfH2Fn/NmSPQakkyoVu3ti+4gDAOObrj//m6szKUtBZlaBEWD2kGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4148 Subject: Re: [dpdk-dev] [PATCH] common/mlx5: fix dlopen meson build 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" Hi, > -----Original Message----- > From: dev On Behalf Of Matan Azrad > Sent: Monday, February 10, 2020 2:28 PM > To: dev@dpdk.org > Cc: Slava Ovsiienko ; Thomas Monjalon > > Subject: [dpdk-dev] [PATCH] common/mlx5: fix dlopen meson build >=20 > The glue shared library name was created by the common class FMT name, > driver_name_fmt =3D 'rte_common_@0@', which is not correlated with > LIB_GLUE_BASE =3D 'librte_pmd_mlx5_glue.so'. >=20 > This causes the dynamic linkage of the glue library to fail what > remained mlx5 drivers outside the PCI driver list. >=20 > The command: > MLX5_GLUE_PATH=3D$(pwd)/build-meson/drivers/common/mlx5 > build-meson/app/dpdk-testpmd -n 4 -w 0000:00:05.0 -w 0000:00:06.0 -- -i >=20 > The log: > common_mlx5: Cannot load glue library: > /usr/local/lib64/dpdk/pmds-20.0.1-glue/librte_pmd_mlx5_glue.so.20.02.0: > cannot open shared object file: No such file or directory >=20 > Adjust the shared library name to the LIB_GLUE_BASE definition. >=20 > Fixes: 7b4f1e6bd367 ("common/mlx5: introduce common library") >=20 > Signed-off-by: Matan Azrad > --- > drivers/common/mlx5/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/common/mlx5/meson.build > b/drivers/common/mlx5/meson.build > index 2b70410..9cbd527 100644 > --- a/drivers/common/mlx5/meson.build > +++ b/drivers/common/mlx5/meson.build > @@ -185,7 +185,7 @@ endif > # Build Glue Library > if pmd_dlopen and build > dlopen_name =3D 'mlx5_glue' > - dlopen_lib_name =3D driver_name_fmt.format(dlopen_name) > + dlopen_lib_name =3D 'rte_pmd_@0@'.format(dlopen_name) > dlopen_so_version =3D LIB_GLUE_VERSION > dlopen_sources =3D files('mlx5_glue.c') > dlopen_install_dir =3D [ eal_pmd_path + '-glue' ] > -- > 1.8.3.1 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh