From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30066.outbound.protection.outlook.com [40.107.3.66]) by dpdk.org (Postfix) with ESMTP id BB3BF1F28; Mon, 12 Mar 2018 11:05:14 +0100 (CET) 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; bh=pshMGwze7HZfqhmQK0GgMEL0IVQKSP1ogWiOacQ6hAk=; b=eygeysIP5jDHVSzY1JtwbSpgocHHuerdcMOKKhBMTbe1gCMNkjaKqLO7rhzefxFh7OxtnxDnTHwU6Z+BLOihWvHlrNtjh2F/RimHxNzZuj9q0lTJKIqKaurORXccy6db9KN5CRt+IrEQOWYzpBoCkWJtNchD+KNG8mykeJ3d260= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4489.eurprd05.prod.outlook.com (52.134.109.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 12 Mar 2018 10:05:13 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::d6c:9063:c9b4:ab68]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::d6c:9063:c9b4:ab68%13]) with mapi id 15.20.0548.021; Mon, 12 Mar 2018 10:05:13 +0000 From: Shahaf Shuler To: Timothy Redaelli , Adrien Mazarguil CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/mlx: fix rdma-core glue path with EAL plugins Thread-Index: AQHTsjDtTzpgH2xRYUS62xdkE3KG3aO9HM0AgA9R6BA= Date: Mon, 12 Mar 2018 10:05:13 +0000 Message-ID: References: <20180301124129.9606-1-adrien.mazarguil@6wind.com> <20180302141211.30818-1-adrien.mazarguil@6wind.com> <20180302170742.5552983b@redhat.com> In-Reply-To: <20180302170742.5552983b@redhat.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=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4489; 7:TQtYfbDp4YTrGPU8wVDbutoaHq8yDP+y6/Bp0Lo6X7bgOPEXDeHF9pKcBQ9wis1I+0EsglqQ73I8bNRv74iaahJjxb2fjntimnEsjtJwPvnFNk1vpgfhNeV+65/ePZBc2GQt7cS/uaCvarEC0MozUU0yAxen+3N6qghuWrNhGlK3xpyMrHdfxWrewCqFPiVFBJ0ZbtQ4QogL8nEl7q7J1Et4dcI5yJY3kUQXNiXbYxW6uqCyQkrQ3R/yFjFEZ+yw x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f14703b7-9634-4106-4fcb-08d58800bf35 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4489; x-ms-traffictypediagnostic: DB7PR05MB4489: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:DB7PR05MB4489; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4489; x-forefront-prvs: 06098A2863 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(366004)(346002)(376002)(396003)(199004)(189003)(7696005)(2950100002)(229853002)(305945005)(2900100001)(54906003)(6246003)(110136005)(4326008)(6436002)(14454004)(99286004)(76176011)(7736002)(86362001)(316002)(74316002)(68736007)(25786009)(8676002)(33656002)(81156014)(81166006)(5660300001)(9686003)(66066001)(2906002)(186003)(55016002)(3280700002)(3660700001)(53936002)(8936002)(478600001)(97736004)(3846002)(6116002)(5250100002)(106356001)(102836004)(6506007)(105586002)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4489; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: M9cCmM6jJ76bNqn/g2McmWODbUxvRzPlCQCLF1NC5xLtTOCyDKmkpX/Hss1Z4mD91wNIIILPXYMQwViVFIOjqT8cYMkx3EauwzDzYQvaATGpzWaLA7rlc58uvG8Wzvw0u5fAPdBH7sR0R+OcPiD5YijdyeQGYaMjZA15m5M+01Bu0WdGy5+lEdU6+xgxwM11Tm8OASvWz0LspizkXBMSVpB4PWn3+fs3GCWkRdlm0+4qtAHArZ75RO+X8cSNcpX+BpcqNasUBh1k44u34OAv4ZDNWE2CKo45xfxGsCsHHs9Zkvz8Xd9Q+v8Y202GrCGzp4ftwr435MrmpydqAd/Feg== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: f14703b7-9634-4106-4fcb-08d58800bf35 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2018 10:05:13.0706 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4489 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx: fix rdma-core glue path with EAL plugins 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: Mon, 12 Mar 2018 10:05:14 -0000 Friday, March 2, 2018 6:08 PM, Timothy Redaelli: > On Fri, 2 Mar 2018 15:15:17 +0100 > Adrien Mazarguil wrote: >=20 > > Glue object files are looked up in RTE_EAL_PMD_PATH by default when > > set and should be installed in this directory. > > > > During startup, EAL attempts to load them automatically like other > > plug-ins found there. While normally harmless, dlopen() fails when > > rdma-core is not installed, EAL interprets this as a fatal error and > > terminates the application. > > > > This patch requests glue objects to be installed in a different > > directory to prevent their automatic loading by EAL since they are PMD > > helpers, not actual DPDK plug-ins. > > > > Fixes: f6242d0655cd ("net/mlx: make rdma-core glue path configurable") > > Cc: stable@dpdk.org > > > > Reported-by: Timothy Redaelli > > Signed-off-by: Adrien Mazarguil >=20 > Tested-by: Timothy Redaelli Applied to next-net-mlx, thanks.=20