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 D36DFA0563; Sun, 8 Mar 2020 07:39:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5357EFEB; Sun, 8 Mar 2020 07:39:23 +0100 (CET) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60079.outbound.protection.outlook.com [40.107.6.79]) by dpdk.org (Postfix) with ESMTP id 2180D3B5; Sun, 8 Mar 2020 07:39:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WOK+2CEMQbDn2INkXB2CVv0HfFHMgCb54VCb/6WgmNUT6AsWCkrfvBqjfjMrQzwP9adxKY+bC+/WxXjS4TKyiVTEdsMdF0h9PPh/tYcdjoDT0vtnw1zAuXFCPLNeGwiRKKfv6onRGWw06RyWwawhCzNE0pOOcH/OlxV+Rz30o7lvGOv/bQ6ofVM3KUwJVVs22rbFkwYcU2dgTCw4WnqJnQNgZJ2U//XqdLjfsFmKsBykNGcax5FbsqDzmtnznqBDG6mrjrmbotRGNCGuQXaB6EFo7KJmmM348woc1yXpTLcKZlg0CQLudT3a2xZ4Jd7BeKVaE0JtIH52WR/A3omX7w== 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=EPs3ubw2jMeCKGdxVfEnhc6Qpyqd/ToTKopXU3v0uMo=; b=Mcbg6fCBPAxcS/Cvi2TzM5KNqyYmVq68y7WjkRzQ5HwTsG5Qi9qThKi0WbFHZlYh4AFigH+lTqy5DRSljJ4OWQ2nhTpdQxqLoSvPJH+e3J6Qg4rRcu/pAx69YzIZiOMye0ESRwjlwVeXJOvrfPhjgVaoUgQZbxAWC9gqX+3VJjSH1NqVMR0c0Ygfh38InTS0HLo+QKKQKe7XmiOETL9m8mwVkFm7oiT/ppEfc/tNt/rBV0nE4kNeEF5FVngVTgx7en+hj/QqKh171mRjzMpy8B00QfX2ENaDbzqVWVgtxVDkJzYX+VTmKvGyWOhnitWvdAc5zCmRH+RKtD10fiKO8A== 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=EPs3ubw2jMeCKGdxVfEnhc6Qpyqd/ToTKopXU3v0uMo=; b=oV8XrUUqLjrBSF6/wJEhdHRE6FTaJTxiK9ZATHgrvKe8XQWVbWywlNalqYRUs9Mt8Pp0XKdYqp6ce+z/lO1Tnl3nV9uvpU5tMEHR+ezBfSOO6tMONV8RtpnJ2gyxOGjnc+42LI0ru408mX2MM0Exn7NLll88LJL2trEKf4ax0Eo= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3953.eurprd05.prod.outlook.com (52.133.33.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.14; Sun, 8 Mar 2020 06:39:19 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::d034:74ff:387e:5202]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::d034:74ff:387e:5202%6]) with mapi id 15.20.2793.013; Sun, 8 Mar 2020 06:39:19 +0000 From: Matan Azrad To: "xiangxia.m.yue@gmail.com" , Ali Alnubani CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH dpdk-dev v3] common/mlx5: fix dynamic loading reference Thread-Index: AQHV88NuMWSbkpoMTUCbt+B/nIeiDKg+QOAg Date: Sun, 8 Mar 2020 06:39:19 +0000 Message-ID: References: <1583146517-7079-1-git-send-email-xiangxia.m.yue@gmail.com> <1583504839-11329-1-git-send-email-xiangxia.m.yue@gmail.com> In-Reply-To: <1583504839-11329-1-git-send-email-xiangxia.m.yue@gmail.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 91d658ea-ea07-4900-6067-08d7c32b6dec x-ms-traffictypediagnostic: AM0PR0502MB3953:|AM0PR0502MB3953: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1850; x-forefront-prvs: 03361FCC43 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(346002)(39850400004)(396003)(376002)(199004)(189003)(86362001)(6636002)(8936002)(478600001)(2906002)(5660300002)(71200400001)(52536014)(54906003)(110136005)(33656002)(4326008)(26005)(316002)(4744005)(66946007)(55016002)(66556008)(81156014)(6506007)(7696005)(76116006)(9686003)(186003)(8676002)(66446008)(64756008)(81166006)(66476007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3953; H:AM0PR0502MB4019.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pVn/943jNMnRgZoKt0OWYghQUdo/6OTy05XBQ4xEAFuX4egNFeFoZsziSknK+sWK26/BfU3IqWJeKvAEJ8Gu39IQR5A6/IHG2mmtJuhRSv3qxKkExEOeg+6qMtWg4FXdA83iyuIGrGY/JpSOTEN/UW6biFjOBw+sPM6QBwbcSFidV50oMeDXYaiSZVYLDM8zgSbjCGST/5rUNycvn5JGmkkPJhnzFxJtROWTvvKBnY+6lxDOUxBLmU7/skjmWE6P9Wt2MXaTkHoDOvYo0yhAsqs26k+ZBeY9aAWrz3Wc53ihvnROT17omg4Um0y7VGmKLgLgEoMTuGnVVNFD+aofLfpW4r6JOuI4HzGCPbvB4tH4CWzClPP8xHNRfDKFGetKmjjcNaHHNT0ZlhOK9qgOLyYJko0JB4kdonuMtS7zVlu/93TBR+ly24Yfl9TDkv3X x-ms-exchange-antispam-messagedata: aAaJqAUDiuKys/UfO0OTi0zrVYshlxnDuEIOp1MD4WfNPF70ibwJsJh5Ew1CEFdl8uKvbHhNhp6cYEcTh+YWAYwFMGJ51UiUrpuSXnH1EzFlrv0pPk0i8Y4Nt/YO49e8P8FRJf2i6rOHeax85uzIlQ== 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: 91d658ea-ea07-4900-6067-08d7c32b6dec X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2020 06:39:19.0382 (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: tuxyJdDnYyHsYLGmdRA2YkIS7ZEHV5yVuPGH7jq+IfaCLfPSAZcSDg1oFDirWLqO5fZm/eZ0HG5NE9KwcMUBVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3953 Subject: Re: [dpdk-dev] [PATCH dpdk-dev v3] common/mlx5: fix dynamic loading reference 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" From: xiangxia.m.yue@gmail.com > From: Tonghao Zhang >=20 > When setting the CONFIG_RTE_BUILD_SHARED_LIB to y, and build the mlx5 > pmd, there is a building error. > To fix it, add RTE_IBVERBS_LINK_DLOPEN to include relative codes. >=20 > mlx5_common.o: In function `mlx5_glue_init': > drivers/common/mlx5/mlx5_common.c:324: undefined reference to > `dlclose' >=20 > Fixes: 7b4f1e6bd367 ("common/mlx5: introduce common library") > Cc: stable@dpdk.org >=20 > Signed-off-by: Tonghao Zhang > Tested-by: Ali Alnubani Acked-by: Matan Azrad