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 8A60BA0542; Thu, 13 Feb 2020 14:57:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6CF451BFEB; Thu, 13 Feb 2020 14:57:34 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2052.outbound.protection.outlook.com [40.107.21.52]) by dpdk.org (Postfix) with ESMTP id 32E7F1BFE5 for ; Thu, 13 Feb 2020 14:57:33 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a9/Jwthh4V+3AqXkuxbWLp/LmAi8dKUzx5OmMtqpqMFK3syCwgb5mfMz0HYSafLujGseTwzPxUb+f0PkiEs0tk6kxfour9E0SD2ST5/hLg5UzjvtPOVGJxGUSLDzJrzAwX7lOnrWeMZBgO7UNjUstbYvfDuFg4FuMHEED2pX0C1bdTK3E2CV8G9Vn2kiX+xUS3L0RN9nKki1gSUATfoHUSENy0svj8WSG2MhtuGnTBKpl+veX0D6AJC1evy+KNZfiu+BYeIN5mt165qL98fOrFqxMP7ApWbg9AVLDcxl/1ZGwBIBbIkcs+YyBag/xt1ynlhZBI9m8HQzQ3WmZE/dtg== 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=d8xD1nTBCC1bJh5kVMGZEj8J3O3NNhykDMcfHf/yCEY=; b=aq9HtAsrINDCL9hs/3/dR6bQji53RMzyOWGrZEBQNkl1XwsCcozJSd9SWGiGyk8dAZpoI76ywo1jzxDMhTl+HNjfgzlcTgIv+z43WlJN8oRrcSfKfYNx+QsNy6XZWPRuvD9bq4yCsNhkAloo1anA0Sypav+9EqY77fbG4eryh46t+OiIDa28b6W1FzeFL+9wfF4PDX73LHiuu+e5pGnyYzin5LhDH3JtngWOkr4LY5sVXVslq4oguQtqY50jcpxHdNhKpxwWzmC9tVO/thsZbffmqprGnk7kFFVQd+yzxL8r/cuaLQGbbatEVJFspLO4LSwEVVe/EWBWuD+/E+v1sw== 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=d8xD1nTBCC1bJh5kVMGZEj8J3O3NNhykDMcfHf/yCEY=; b=tMwvnSbasfzVhjtWL8NAm0C4Z/QlbpUspdNFz1+H2XsdPrNTHEhijRnBkEP86W3pGGS4psxG2Wulahbwzpan6/MNvTESUvdFk8vXUzATBctXMEecLvYeM7c/yrTKe/Dj1WddmH3VDKIrRKlpPpjzmKQMl2YdUgqJqG42m/BClbI= 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:57:32 +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:57:32 +0000 From: Raslan Darawsheh To: Thomas Monjalon , "dev@dpdk.org" CC: "bruce.richardson@intel.com" Thread-Topic: [dpdk-dev] [PATCH v5 0/6] mlx ibverbs linking in meson Thread-Index: AQHV4fDNihN0RIQpX02vAiy5O9vIJqgZJxmw Date: Thu, 13 Feb 2020 13:57:32 +0000 Message-ID: References: <20200116071656.1663967-1-thomas@monjalon.net> <20200212220708.492297-1-thomas@monjalon.net> In-Reply-To: <20200212220708.492297-1-thomas@monjalon.net> 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: 254f9264-57f0-4016-e694-08d7b08cac16 x-ms-traffictypediagnostic: AM0PR05MB4148: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:546; 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)(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: S3hz0Nv7Tz8OCHmkkSmlFeZUtcPSyvsV6TuFZZjGdKnf79lZsYA4Re7EZf/vfIuMf6rMWsdNIWEPkTjt5ZasYyplipWk94O5Dn8UrxtPhlxtZOmkGGh/1DBRMRHohq9HIYDrnoJKw8yKJI4GQn/tJS1zIgjsdwbYak4cgXIf/gK4N0l6CtZ11DHtigOLrTqfqVvldqXoCSDF0HG/FovHV7inw6kaCR1xTVdsPc/+dPVkCo6VaZKOLK9YIspyw5EQcYahy/kvivf3fx7uuHCkvCp5Hi9jDf/MyaA4p05F9iaLm5zGScYMEBMzYCkN/UNnUKTqBXbVRn8PogBaYtVSWuZz29OHMEF1cc8QF8MZx4g5S1PSGbbs3F5b1gxOXR+t9bYoKQ1msAbaasr6nvJ1ysiiBi+qy/AspP6PS1qcSkmmcQDecW30VvU3zHHWA5Td x-ms-exchange-antispam-messagedata: KaKCy/3x7hkLKSS+tgKGcU5WIz5HjEpH6TtTzMkqdI8TgeSrYDjWu4GsuapmChD5qMl++yonj6XNIJCxc2dGJyLyUwPk9Q1+KWUc0DrKX/z6FypIuKBizvGekNnXlfkPsNbMbw/zEnZAj175jRhQAg== x-ms-exchange-transport-forked: True 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: 254f9264-57f0-4016-e694-08d7b08cac16 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2020 13:57:32.4500 (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: 5QWWGrBCcOCObQymTEGJTj6Z7qLsQnez03kSqUZYLuxOqrxer9cuMaoCi3NXUGP73CSI0SyEz4Cu76+0m0SWlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4148 Subject: Re: [dpdk-dev] [PATCH v5 0/6] mlx ibverbs linking in meson 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 Thomas Monjalon > Sent: Thursday, February 13, 2020 12:07 AM > To: dev@dpdk.org > Cc: bruce.richardson@intel.com > Subject: [dpdk-dev] [PATCH v5 0/6] mlx ibverbs linking in meson >=20 > This is the follow-up of the feature I added one year ago: > static linkage of libibverbs in mlx PMDs. > The first implementation was focused on "make". > This second round does the same with "meson". >=20 > With the meson option ibverbs_link, only the mode "shared" > was working correctly. > This patchset adds the mode "static" and fixes the mode "dlopen". >=20 >=20 > changes in v5: > - fix build if pkg-config/pkgconf is missing (e.g. Windows) >=20 > changes in v4: > - fix lib ordering > - simplify conditions by using subdir_done() >=20 > changes in v3: > - get cflags with pkg-config invocation > - drop addition of global variable hidden_deps > - remove overlinking in dlopen mode >=20 > changes in v2: > - split mlx patch for normal addition and workarounds > - fix ldflags for ibverbs installed in a standard directory > - fix libs order leading to undefined references > - add doc for hidden_deps > - improve explanations in commit logs >=20 >=20 > Thomas Monjalon (6): > drivers: cleanup meson build variable > net/mlx: add static ibverbs linkage with meson > buildtools: get static mlx dependencies for meson > net/mlx: workaround static linkage with meson > net/mlx: rename meson variable for dlopen option > net/mlx: fix overlinking with meson and glue dlopen >=20 > buildtools/meson.build | 2 + > buildtools/options-ibverbs-static.sh | 11 +- > doc/guides/nics/mlx4.rst | 4 + > doc/guides/nics/mlx5.rst | 4 + > drivers/common/mlx5/meson.build | 314 ++++++++++++++------------- > drivers/net/ipn3ke/meson.build | 17 +- > drivers/net/mlx4/meson.build | 154 +++++++------ > drivers/raw/ifpga/meson.build | 23 +- > meson_options.txt | 4 +- > 9 files changed, 286 insertions(+), 247 deletions(-) >=20 > -- > 2.25.0 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh