From patchwork Fri Oct 20 20:57:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133079 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 83D39431BE; Fri, 20 Oct 2023 22:58:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 770BD402E4; Fri, 20 Oct 2023 22:58:13 +0200 (CEST) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id 7A68740266 for ; Fri, 20 Oct 2023 22:58:11 +0200 (CEST) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1c9daca2b85so10077065ad.1 for ; Fri, 20 Oct 2023 13:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697835490; x=1698440290; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=irN5WZ0A1lRKdHj+1JrZLaBUexTIXx+1tX/EKKjfyMI=; b=LzmTq7b4vUMCIlrbIP+Q/sdeaZ4jnVxwinVcZiaI9fULGLOwkK2RuqjefZN2m3Uyji xS+zzJiKrP2GG/9riZc4/rQHD8cQwIhAjfMQKOgim3/XAIPZwbThOv3PnpmRBoEzT7nq DXZS2NX2atp4SubZS+Uss88OnO4bJp9BRYAtjk2aTCgtCmJBers6+7hxgO0Da7zGzPxP PQ9OaOvGy7eleKcO5bHdXOmzHSuaM3fPJTJHPY7hnkfL9kUfunC/uKfd17bHNKdonpNR +AMER1FagfZf8aDzm2M698z2aZfebsT0Fi2ocoGK2wGqwlStzZnfqq2cMN1FrPQKfobT TVzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697835490; x=1698440290; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=irN5WZ0A1lRKdHj+1JrZLaBUexTIXx+1tX/EKKjfyMI=; b=b505JI9Q6bPLDEiF130bO/Yd/YQGuwGJnFwFEXQqQIfbuWXP32l14VnrCQzB9NM0FW pAD2ZV8Qqm3cKGCTtmdwrQcFgvmCivkaRz2gaY+m/C9319ltjMyHZTsUY18QgFE3ODy1 KObPh2nEeiSdu0L09jV9rTEauHUmTRzSvkb461ocYpZauWWfefibesvHYGgAyvHwTYWr bA6q9NfEe+5y9ly04is3QixvAqIwg0s5Z/lceXE6C1og/7Z2hyn3rhOiMLXfrKxS4jNW 6nI8H3z2qwY7NSx9VlYiN4gzb1vRgIXAHMv4jntyfRJNRSafi5kuNR/fNUqdRZnGZISB VYBg== X-Gm-Message-State: AOJu0YwbhWqRZ7d2Hfud8IxpQDxP1TdIkyo8Pr2E1iSxkgnOnkqNQ7vQ F6S5mkXF5xlcDQhwbARNg44PZrIgcqqhp8IO0GfBag== X-Google-Smtp-Source: AGHT+IFJ2EMqjWPIEsBYhMapneC4zYZmHhZIfExGRD/muJuRvJLja9+V9y9dFc8rpHzgRTLTF/9aSA== X-Received: by 2002:a17:902:d502:b0:1ca:15ad:1c5 with SMTP id b2-20020a170902d50200b001ca15ad01c5mr4139010plg.6.1697835490390; Fri, 20 Oct 2023 13:58:10 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id u17-20020a170902e5d100b001c61512f2a6sm1930961plf.220.2023.10.20.13.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 13:58:09 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v5 01/26] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Fri, 20 Oct 2023 13:57:34 -0700 Message-Id: <20231020205759.195126-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020205759.195126-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231020205759.195126-1-stephen@networkplumber.org> MIME-Version: 1.0 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 These two API's were introduced in 22.11 and can now be made not experimental. Signed-off-by: Stephen Hemminger Acked-by: Konstantin Ananyev --- lib/bpf/rte_bpf.h | 2 -- lib/bpf/version.map | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/bpf/rte_bpf.h b/lib/bpf/rte_bpf.h index 4d71120dbd9d..f70d8dacd0d3 100644 --- a/lib/bpf/rte_bpf.h +++ b/lib/bpf/rte_bpf.h @@ -209,7 +209,6 @@ rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit); * @param len * Number of BPF instructions to dump. */ -__rte_experimental void rte_bpf_dump(FILE *f, const struct ebpf_insn *buf, uint32_t len); @@ -229,7 +228,6 @@ struct bpf_program; * - ENOMEM - can't reserve enough memory * - ENOTSUP - operation not supported */ -__rte_experimental struct rte_bpf_prm * rte_bpf_convert(const struct bpf_program *prog); diff --git a/lib/bpf/version.map b/lib/bpf/version.map index c49bf1701f0a..2e957494e9df 100644 --- a/lib/bpf/version.map +++ b/lib/bpf/version.map @@ -1,7 +1,9 @@ DPDK_24 { global: + rte_bpf_convert; rte_bpf_destroy; + rte_bpf_dump; rte_bpf_elf_load; rte_bpf_eth_rx_elf_load; rte_bpf_eth_rx_unload; @@ -14,10 +16,3 @@ DPDK_24 { local: *; }; - -EXPERIMENTAL { - global: - - rte_bpf_convert; - rte_bpf_dump; -};