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 9933EA0032; Fri, 18 Feb 2022 11:57:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 46C7640150; Fri, 18 Feb 2022 11:57:30 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 6992640141 for ; Fri, 18 Feb 2022 11:57:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645181848; x=1676717848; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=cwfEp2dS97T2t0Y8ne54DqzxM4LPK/Q+U1pUz2ASkQ8=; b=idyPYJCVxGJ0KuWxZPGW7vzVbOBs1CBOeYRYnoL/Bw1uURvM9A+lXiPs MXvcz/yl459Q1jhD6E7llbgwBVa82uj+PVbn9rUlOwjrmBdoYtTa9+6JI a9K1P1a6kzFFSYzgKP9MeGdnzr1YjorY4xpde6W4uxHNtTyy/COyf2ybF R4fFG12meehiBJuiLQmxbbhSvtRO70UdZN3lvltZbEtiaZlHCw5vqoRPb t7iYvTCJ+HAsTqgLOUK6GnZskFc4qwq0v3ETpjLBfTwVwwChNH6ZPt1eP q95dhK4W3n6NW60v21f2evUCwtHs6t1uMxV6d4nZx2qyZKFcLF+hXMKc4 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="275701379" X-IronPort-AV: E=Sophos;i="5.88,378,1635231600"; d="scan'208";a="275701379" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2022 02:57:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,378,1635231600"; d="scan'208";a="637707213" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga004.jf.intel.com with ESMTP; 18 Feb 2022 02:57:27 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 18 Feb 2022 02:57:26 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Fri, 18 Feb 2022 02:57:26 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Fri, 18 Feb 2022 02:57:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PXmPHyHltmkRuf1z8g1eVCYOqDCoUTZC9RBz4K6zEL6vd3Nb/7dlUBuMfVyJNoHp01L5CJ8VXjzDR10vxF3r0uI59/HaVMngNR2ltIQPJukIy3f8Ja8G3pIzZ9wNQCphUaVOxCtaL+gZ4G2qBrieB+sY+iwDDB1dkhAHoACKfiUqV1qJ04VIqX7jvpXcPZIJiSrzF0RTG8D9fKoH3p0UsLBI+9U2aXa8BRsDhgCkklY9veKKNM0w4d2bpN6gk9YIfMzecdG9miDtmQC+n+R0i/XbGffU3mJmQ4Ch1Jbn6YND5wv82BQhHNVwPtV7WwhnoES9EvFyOg7xNkzOBxc/iQ== 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=j5uFrQ/vqf6zZXtRBmUwScghJBe5OPr2WwJXOug+rF8=; b=OlbwEEcyzBFkkOiREo/BjQ6oHBuL2ACM57B/XnpYoa7EO7RF42PX1EmI6x/7rV8NGV6UynXtQhRqXIuoJhEASKhuwoTf2nLu/fiBiTdamBk7RAixFFMXHnt9yib4sbKG1RHDsnUMiNSKVT2/aDRKpIoc/FfquRKhEZL2P6kFPv3fHRk+2jZ27G8D16us7TsQT+4nUyAWJXZmdjMswujSX7fEiUVSozuwBDFxL4BhO5BJWUD5LVv2lIAkEa1BsOCTwCXXSKQUJSGh1+ZaP/Foa5iMi73hPzPjUMfhK1cYEtBc4hSTCVb1v6REdXM9nUPsXQUw2aChdNDoczCi9c+JTA== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by BN6PR11MB4051.namprd11.prod.outlook.com (2603:10b6:405:79::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.14; Fri, 18 Feb 2022 10:57:24 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2%4]) with mapi id 15.20.4995.024; Fri, 18 Feb 2022 10:57:24 +0000 Message-ID: <56a90bdb-dbc3-a8c2-1143-10b6ced0cb2b@intel.com> Date: Fri, 18 Feb 2022 10:57:18 +0000 Subject: Re: [PATCH v2] net/af_xdp: make the PMD compatible with libbpf >= v0.7.0 Content-Language: en-US To: Ciara Loftus , CC: References: <20220217144524.28836-1-ciara.loftus@intel.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20220217144524.28836-1-ciara.loftus@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0389.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:f::17) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3baca413-3f3a-4f75-89bb-08d9f2cd71f8 X-MS-TrafficTypeDiagnostic: BN6PR11MB4051:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1850; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nbWSR3BCGnVoREd3llBZ204eVpmNi+vqex10tevZ3J/fHUXsJmKcPzektg/aOgrYn9Uc3I6ACiVqL+lCgHEcuZBBGZb/IDFpJyiP2vWNq0tiUGZewoU99aI320ZwKiBQ29aB5A9qwms3MHQGQwt+DkNvfKIvpq9gJ6c4NJe2ax9DISGhFaDwbgRPSCS8y3QgKh/WZ/vO8cIyYCpPw6LKOQjwLcLZqmZIM2ICUf1S6fQARK75NPqLK4hZU4coqybFlijnrzfrRRVhsxHW79m7MXKcFaXdXZsi0jSbQG1wj2ereczUm6NKl2g4QIknipFu+jaHvxbu0swuHLW9BMCoBnzbe21wjvW3Q+vNlye4ReYpjfIexJ4zG2nss5aDqjB59KugAOqg6EXjQKYd1BED3J3I7itmoPcF52tVXxjmSpAqfMp3euYuuxyb+mbEj8CcD3++zLVmNblKDao4re2tkncnWa7yztZsQcodaezrbWOk/Uk/FmbLZXUqvwYjyq/6jzFG8f4ZDca62QGhVBDJ7ucqCgf0i8tBuM/1PABt0dgFKWGBCgL43CeG6L2cD/quHJ6LI0D+sUQQrw7hv3BKWZviBl++MCVCMM+guyiKt+dTygK/LQj1GNLb5tYvdL6fbLCcxrSgh6Qxt0m06VECOXeVHJI5iCnO+XoAn2m54gu7XKY4oQ3vz9kEuy2jrKdglp4X4Wnz146a2HIwYJ25mQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(36756003)(82960400001)(26005)(83380400001)(186003)(316002)(6512007)(31686004)(4744005)(107886003)(31696002)(2616005)(6506007)(6666004)(8676002)(8936002)(2906002)(66556008)(66476007)(86362001)(38100700002)(6486002)(44832011)(4326008)(53546011)(66946007)(508600001)(5660300002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bUhFWncrdEd4eERCN2szSktJYWpsdDB1TDQ5MTVZRGJaZDJ6SEZST2hzVFBO?= =?utf-8?B?WnJ0RE92WTJTU2lWa0hyaGxCdG83OUhjL0kxL1p2LzExWVE4ZDRzaWxQeWtW?= =?utf-8?B?b0YrUHJLSHJOa0dIanBGcVp5bjJkeFVPTkFmNE5mUS9qRml1UTEzWFFiMHh5?= =?utf-8?B?b3RiMGt6WGFMbGs2Q0RGajJBa0J1a0l5UHFsbjU4UUR3a1pNVjNQUGlJcGFE?= =?utf-8?B?VGMzdkJDMVpseGdWRVNLU0tObG8raFhVemZCVUFOeUo1ZThoemswNlVqUUJD?= =?utf-8?B?NFk5WDIxUFQ4NmlhSUQyQVBjSFh4ei9Ed1hyajhiRjJ1ZEFZWFlJaDRuUHIx?= =?utf-8?B?a0VKWnQxejhRcldBZ1hGNk02K1lQYjh3eTVlSVkrak9vejJCU2J4NElyWGRQ?= =?utf-8?B?akMrQ3BpN1A2WVNESHFtdUhDeFM0YXVhZ3RWY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ant-Network-Message-Id: 3baca413-3f3a-4f75-89bb-08d9f2cd71f8 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Feb 2022 10:57:24.7259 (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: VWEmt33jmpLRJcZmdLOuIzYKp+ja7blotD5MzULMEaVZ5Rdpf/Y6yRYr8EjHMWhYJ9jiDIcxmmixtYY6fIdJZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4051 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 On 2/17/2022 2:45 PM, Ciara Loftus wrote: > libbpf v0.7.0 deprecates the bpf_prog_load function. Use meson to detect > if libbpf >= v0.7.0 is linked and if so, use the recommended replacement > functions bpf_object__open_file and bpf_object__load. > > Signed-off-by: Ciara Loftus Applied to dpdk-next-net/main, thanks.