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 B0CE3A04DB for ; Fri, 11 Dec 2020 10:45:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A5CBFAC9B; Fri, 11 Dec 2020 10:45:13 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id C8316AC9B for ; Fri, 11 Dec 2020 10:45:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607679909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mAHxLGM5/lVHKoEaGpbvBRnY69DAJo+NqxQcunDtXyo=; b=NEnNgvd0saHqT8BbSp41StoRzpZqkwUys0KSBbKWUM1FhnoG1/i4qsH0skL4hCpAk5qYjX xDmW+TnRcYtLD4Io7UCZN6UuEtreJu6vP8ZBVgGMMyYvEl87kLkDelb7B/RVvhurMI98p7 jdwnJpUMejNNA2sLORV6MZLk0R+JzU8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-45-Exnz44l-NrCDXSMznRjz-Q-1; Fri, 11 Dec 2020 04:45:05 -0500 X-MC-Unique: Exnz44l-NrCDXSMznRjz-Q-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 422FEC7410; Fri, 11 Dec 2020 09:45:03 +0000 (UTC) Received: from [10.36.114.230] (ovpn-114-230.ams2.redhat.com [10.36.114.230]) by smtp.corp.redhat.com (Postfix) with ESMTP id 49E466F982; Fri, 11 Dec 2020 09:45:01 +0000 (UTC) To: Thomas Monjalon , stable@dpdk.org Cc: Bruce Richardson , Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko , Nelio Laranjeiro References: <20201210212136.2636082-1-thomas@monjalon.net> From: Kevin Traynor Message-ID: Date: Fri, 11 Dec 2020 09:45:00 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201210212136.2636082-1-thomas@monjalon.net> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH 18.11 1/1] net/mlx: fix overlinking with meson and glue dlopen X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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" On 10/12/2020 21:21, Thomas Monjalon wrote: > [ upstream commit e21492a5175af31ae568fa5fabef1f4b22706962 ] > > If enable_driver_mlx_glue=true, the PMD and application should not > be linked with ibverbs, but the glue library is. > Unfortunately the ibverbs dependency was exported in the > variable ext_deps, so there were overlinking. > > It is fixed by not exporting the dependency in ext_deps, > and recreating a limited dependency object for cflags only. > > Fixes: 1dd7c7e38c19 ("net/mlx4: support meson build") > Fixes: 96d7c62a70c7 ("net/mlx5: support meson build") > > Signed-off-by: Thomas Monjalon > Acked-by: Bruce Richardson > --- > buildtools/meson.build | 2 ++ > drivers/net/mlx4/meson.build | 8 +++++++- > drivers/net/mlx5/meson.build | 9 ++++++++- > 3 files changed, 17 insertions(+), 2 deletions(-) Applied, thanks.