From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 40505A0032; Fri, 24 Jun 2022 10:37:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8B4440A87; Fri, 24 Jun 2022 10:37:16 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id D4D3840A82 for ; Fri, 24 Jun 2022 10:37:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656059835; x=1687595835; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=2qNYtlFGXb37THvDELuVHlDvGXRcDU8KOPf4eLc0NwA=; b=NYo+4S12a5sw8/sAZyNi2dQMM8ymAlIoNzd9XX2/VyJ9oBLZ4Cn835dG EXnNrxcgV3EYG1hI6sDwaYXYtdYHXKBRZUUBph6UgNUc5V0bTnL9J2mLh bfXOaSqzOK7TMYiMlKc2xcUveXLPH7jJ6o0hIvOMXZd0UcvXQwqyXVwt9 Bnu02ASDyZPC+4TVoPOZBPT4JQkb0Xp0s+ggSQ5jc9UkrWrDeaRpzai/l R00VaxnvefM2DeLALB/4XXXmRBLj8lxpQ+E18ByWzT4tFAv4aeGDKtYJ3 gyiUm9iJwJinXXNy1LYjAOguaNdZBXNv3d9fz46E8Y6GPs1c3POxEhFSR g==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="279721326" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="279721326" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 01:37:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="678454559" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by FMSMGA003.fm.intel.com with ESMTP; 24 Jun 2022 01:37:13 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 24 Jun 2022 01:37:13 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 24 Jun 2022 01:37:12 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Fri, 24 Jun 2022 01:37:12 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Fri, 24 Jun 2022 01:37:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UGNrdW/lhW+qCpyfHn38+uZZmp2ijdIBDZ2UfWWXNhR//oD2aERh5QhELpWyrWsqZ16WKo38Q0RgfZ2luDqrdgVh1mySgmBeberX3ILMCf3f51agvBGxWfdVrgYMSkV2wXM0g7RICKyN0E/hWSX5K01ZO49YBXAxI4koCsy4wlr6YnS1cW8zqX8fDHdKHLrxcVPtz3RwN8J3swUM1zgc4vJeiRxBdpxD735YKlebAXjb9PlRgyaZ3dZJlybtek6qO3XEus1FHNDTMF/w5XRMyagYwgVunThrXmc/QdwFVxnz/WzDY1eUJYPAxophe/aqaXgCRBz749H4fFMGqLouRQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3Rrb8PG/A4lR9gcVzCM67cizAdJkkz66jUMll+SWqWQ=; b=FMpaDH+FlweQO0BVgjFH0YCPIq9/Nqx7seunydGQ/4FNVOEE3YRcHAKZHcpMwPYgl/3SQSzEI2pdP+0fuy+Vsu7kVpJMZFuSOYcejx6jD99OLcySgyvnJNaAPMSnzDSzjTmHj6QfZZbrw9R4ohT56ZK9Rn/kYxZM/Z5QADOtCrioMnW9t23pqsk1esUHYbzC/55wDxxViFBwnnhTHjymVALYAECKTz5T+9xhhIhC+XQ93ERXkH/nMi9ftArNbV0eqM6G/c/Z+EhQmxEgv40pLtf4+0XFfZ85EhTF7oRhCPOi9HdKXHkSMoDyOPs8HVWgRVyH3GRhh/ob6589e3027A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by CY5PR11MB6320.namprd11.prod.outlook.com (2603:10b6:930:3c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.16; Fri, 24 Jun 2022 08:37:11 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::24ae:1cd3:3192:4c7e]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::24ae:1cd3:3192:4c7e%7]) with mapi id 15.20.5353.018; Fri, 24 Jun 2022 08:37:10 +0000 From: "Loftus, Ciara" To: Thomas Monjalon CC: "dev@dpdk.org" , "ferruh.yigit@xilinx.com" Subject: RE: [PATCH] net/af_xdp: limit libbpf version to <= v0.7.0 Thread-Topic: [PATCH] net/af_xdp: limit libbpf version to <= v0.7.0 Thread-Index: AQHYh5CgattZYhlIAUuO2JbRP72A5q1eOYEAgAABZ6A= Date: Fri, 24 Jun 2022 08:37:10 +0000 Message-ID: References: <20220624060634.295136-1-ciara.loftus@intel.com> <9193135.JRmrKFJ9eK@thomas> In-Reply-To: <9193135.JRmrKFJ9eK@thomas> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6d7c55dc-7868-42f8-b0af-08da55bcbb0f x-ms-traffictypediagnostic: CY5PR11MB6320:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aAp9WxA8LZ/W+IbzlmjwBqq86747Rorml+SjTQh0KuOeBgJLfBAZeKa1YoZSfIbV/QeR5+ZjhyXXdCJK7GYeB262XhgjsdSwScDv1sASWdGbxKGd3n6aMiUHIuHe5EeA7mPIML/9rNdo4hA4Sippxkp14eYE2glGNESbjvSHpMf6tSSJXf5h3xjyeJIA0u8eqwEiavhZ/2WEEYsuCKybfYm7yJdxHd9CtkTqg31NoLz276FEWuOKeOsF1DsgsA57J44+jpa/FIV/VyB3unJDBLnDskzoIzzmPbEok+1c8+KZhVFAwCJxC+/8Ckkloyfoc97kj9SEnlUDhjWrt4hgBYsT2dqo9plOm/pn7BDT94FCgD1JRoQsBaIGqOrt06nF/xbQsOqcmTNHlGT0aDq2xL+R4PnCRjwtR1opSQ22s6r0fhLCxe5JxDfpJwkBK10MNM9Sv42ATlrM+TKZj8fE1VSMV0Rvq08W5NRSSK806AkjCQMKhZVTLrl04y/e6G1iuWoo8H6Dh5BYX9GczKH+N1DDjkG92yFepMPnn0/tnbjWDjEKnkyCBchgC0/ZYhoESp5c+x8l2ZsFv71uwW5cZER0wOg9vuaxb6SPvBAMZQbH0m6rrtOGHpXZWR10/yqSoNYjdwq9GjHclDyl5Jzg1zNYwAc5x+MNdDDA9UxcOtpMUG2bDhsvPtSKyw9VimGwvCx7KyoTMzqr9+YDsfX/+nExPh0pulBgiA5nWQq1douSeJsDMmd24u+uuGtedLA0AAP9cir8vMzOJBwCaEqL40LW51Thc7b5dxRWEjauS3k= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5872.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(366004)(396003)(376002)(39860400002)(136003)(33656002)(26005)(9686003)(38100700002)(76116006)(6506007)(4744005)(83380400001)(5660300002)(186003)(41300700001)(71200400001)(52536014)(64756008)(6916009)(7696005)(478600001)(316002)(86362001)(122000001)(66476007)(54906003)(2906002)(38070700005)(66446008)(66946007)(66556008)(8676002)(8936002)(4326008)(55016003)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?R4vdf4UMc841iHerwM57fopJqA7WtayRzMi/hVybHeYjxlsBiIQImaN5zBZf?= =?us-ascii?Q?eLJGWM6LBxyYQvFE9iAxo2ey8dBPaNxLJfKV8vS7lgte4+1p338tbxBKQcDT?= =?us-ascii?Q?gdvqz88dveX1yNo3UYxy0fkmIoYu4XYAhVMmpnjS/KiLW0wT368DNbLLASy0?= =?us-ascii?Q?UOAfOZQOWiYe7mzEn5uUUO9bzewqJpWbeO11TD528hC/aUPEBmnn0L7MTcuv?= =?us-ascii?Q?dRyfWZXHJe3OVUjwT+c+jvwvqLoPVfELErxzSFHj/nMiw+0Zwsnmm7sb8DhC?= =?us-ascii?Q?KlJI0B3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QNYsnL?= =?us-ascii?Q?rPzP3CG3CMBDemhoNgW+8a0kpVdxQLF5ecywbcY0+fHBJofLYADcFN3oS643?= =?us-ascii?Q?2c+UW8srJ+VWS29hKS8y0yiXf/CC7Ug71JGLZF1t4UW1UZasYfb8zZX8dKmv?= =?us-ascii?Q?UMz5EoyPC3jYQxYcyGpW0q8B2KAjeKkY0ywTs3+11lY1sQ53HaoePu+wxGkq?= =?us-ascii?Q?d+tPwDZxdmgRfVCtbm6LFNXvVBg3Pox7sm6CQrPTREkIewLoHouSZ8aV9//l?= =?us-ascii?Q?6YuNcze1MyZoJDXHhqN5Mb2saPA35HOkZaOrg/rrjtjE68WpPkNa+3k0vF2f?= =?us-ascii?Q?+a9pi7jrCyVANRE7WC3xzWdDFK+bGKzVeRTS/JR7obb8mu++rqYTNXfKPiOY?= =?us-ascii?Q?EdVqvqw4F3gEBBj26J7jYhxiDskN7Jl2VuLmB//Z?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d7c55dc-7868-42f8-b0af-08da55bcbb0f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2022 08:37:10.6387 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZNmt/2cPaIri6VZP+GHsRh9IsII8lZEDxek8NGqtQOULFc0FmPRtgkJvIKtw7JslfiSzNknW6oFJXQfbMbqKXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6320 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org >=20 > 24/06/2022 08:06, Ciara Loftus: > > Linking with libbpf v0.8.0 causes deprication warnings. As a temporary > > measure, prevent linking with libbpf versions v0.8.0 and greater. This > > limitation should be removed in the future when appropriate > > compatibility measures are introduced. > > > > Signed-off-by: Ciara Loftus > > --- > > -bpf_dep =3D dependency('libbpf', required: false, method: 'pkg-config'= ) > > -if not bpf_dep.found() > > - bpf_dep =3D cc.find_library('bpf', required: false) > > -endif > > +bpf_dep =3D dependency('libbpf', version : '<=3D0.7.0', required: fals= e, > method: 'pkg-config') >=20 > It is also removing the find_library() method. > Any reason it was there? >=20 My understanding is that one can't check the library version using that met= hod. So it was a valid method of picking up the library until now where we alway= s need to check the version before linking.