From patchwork Mon Feb 28 01:58:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Ahern X-Patchwork-Id: 12762276 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52DDAC433F5 for ; Mon, 28 Feb 2022 01:58:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232370AbiB1B7W (ORCPT ); Sun, 27 Feb 2022 20:59:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbiB1B7V (ORCPT ); Sun, 27 Feb 2022 20:59:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C06B13DA68 for ; Sun, 27 Feb 2022 17:58:43 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 55E6060500 for ; Mon, 28 Feb 2022 01:58:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 365B1C340E9; Mon, 28 Feb 2022 01:58:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646013522; bh=bv7NQkgKo8v7O9A1WKFawd46iEc928FJbFGKDhv1qe8=; h=From:To:Cc:Subject:Date:From; b=rK8yBes1qGASO4J8bw/JtWalr87gJpfoHApIzpqTLy2eR2Y5xhpRCYYZqzoxiwzjn v3KtWZ01pv1XXN1ZX5QWlIfkpVfys+ecxNCOhPqY1OJar7mSn1aphIHQhL0q7v1F8O +mY/IbCjCFz9GpaOE8KOH7AQIjS16t8wi0gOm56002i90QZztBon9qpPwouNWBQy2X QehvMZVRIQXtUzthAvy5oIxZfbQvC93P6AE5vROsFG8+aLe60kxpkW/SCPHrPqzOlw upSCAwL6Miiy5l8kYRiyzxdfocBPShbVas+7OElj3KNc9qSduPl5FENHAIUdV7jUyz JVHLoBOlvznlA== From: David Ahern To: netdev@vger.kernel.org Cc: stephen@networkplumber.org, David Ahern Subject: [PATCH iproute2-next 0/3] bpf: Work around libbpf deprecations Date: Sun, 27 Feb 2022 18:58:37 -0700 Message-Id: <20220228015840.1413-1-dsahern@kernel.org> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com libbpf is deprecating APIs, so iproute2 needs to adapt. This will be an on-going effort, especially to handle legacy maps. This is a starter set for the low handing fruit. David Ahern (3): bpf_glue: Remove use of bpf_load_program from libbpf bpf: Export bpf syscall wrapper bpf: Remove use of bpf_create_map_xattr include/bpf_util.h | 2 ++ lib/bpf_glue.c | 15 ++++++++------- lib/bpf_legacy.c | 19 +++++++------------ lib/bpf_libbpf.c | 24 ++++++++++++------------ 4 files changed, 29 insertions(+), 31 deletions(-)