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 1AE2F4300E; Tue, 8 Aug 2023 19:35:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C47E43254; Tue, 8 Aug 2023 19:35:42 +0200 (CEST) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id 2A2FD410E6 for ; Tue, 8 Aug 2023 19:35:40 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-686ba29ccb1so59853b3a.1 for ; Tue, 08 Aug 2023 10:35:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691516139; x=1692120939; 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=CLvDiI/6LMNTjDiaqK1p+6ugD0d2ZxNrI9i4h1xZpLU=; b=0AMDWEaBEsMHueDtxi0IikiFkb03v9NIEs8obFCf1eH/v8D14hf41PSj5IparYLIoA X/6X9osYiTBAaMIPpD56IOByPQAfkq8niRAxs3dTvBUPvYsrK4y2ku8Y5t+j6D3SfvOh 8zkbwoGdYzzxKMK7wWo4B07T7kfy2KbdBV5lFoaNqBngMUyqUl5s+n+xhMaC8fB8x2ZU Bu/BWCyUVFXgAdyPfNl5vVCmgge3Q1yAVP85/m2vWOEQX5GOBEU1929cq+olORtYZhN6 UeVKqlwnTcpNkm5IDcuFW8TxrdvnGluyqEVw/HKdMGUVXpRzPcgL8BsWNE85p/MbA83e YkjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691516139; x=1692120939; 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=CLvDiI/6LMNTjDiaqK1p+6ugD0d2ZxNrI9i4h1xZpLU=; b=l68KQ7a+Gj2HLk9Sv1DYLQiKakkzJST+d6qgfmFmf1jrDNA7Qal5mjV3l+YhrP//eJ UJ5s4/9fLRXGNocZXLce3tizBJvEI9M+DEA2SbPoTFPp5K3OGbclIgu3iAZXkKrlmLpf zYFMx+6RGVTilqRFqRf9/eZf7olFpOcQnFvDOwgDGs05w+pM7Uj86ERw4sXz7DAdjMEB qW0k4wyLCiFUct9yAWj4G8vBcpGzfBlU9T1KZct6KRyCdCH/5a2iC5z9sG1PIMh1mwa5 1t4h3cA1uYOWrOhcELTGx0u4shve5WqRCjzZH59NlspknChX8Pru2Cqd70Zw3AREy9Ya nO0g== X-Gm-Message-State: AOJu0YwaUd2WGc804nrRpl6v7IJedpPhbjfxvakuTjoFhxLCmkdDOk0K DaxXEKil3PKImjeIVD1gjUuFvRVQ4QDp++vjm7UkQg== X-Google-Smtp-Source: AGHT+IG9fOnH+Vyti8UmzH3Hi4KqRBmxNBYamEVCwxtuO5bFofZ1FXvIl3vto9ZaS+A0fEKKjhRIgw== X-Received: by 2002:a05:6a00:1948:b0:666:b22d:c6e0 with SMTP id s8-20020a056a00194800b00666b22dc6e0mr560714pfk.11.1691516139078; Tue, 08 Aug 2023 10:35:39 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id m13-20020aa7900d000000b00682562bf479sm8328945pfo.53.2023.08.08.10.35.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 10:35:38 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH 01/20] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Tue, 8 Aug 2023 10:35:08 -0700 Message-Id: <20230808173527.186042-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230808173527.186042-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 23.11 and can now be made not experimental. Signed-off-by: Stephen Hemminger --- 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; -}; -- 2.39.2