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 0097943011; Wed, 9 Aug 2023 02:10:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C9484325E; Wed, 9 Aug 2023 02:10:31 +0200 (CEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id 99C20400D6 for ; Wed, 9 Aug 2023 02:10:29 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1bc5acc627dso22818365ad.1 for ; Tue, 08 Aug 2023 17:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691539828; x=1692144628; 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=Xp05guSfRdN9WNIIIG3bSkDYL9wbhIR07WJRnNhp+839T4+iI9d5LqLpexSUL2PlRD HOrnhWJCzErVnF2o9QIaGw9hCFBZltGSayAd7vRZdmyNahU82G0lOHgpt1eR5Ov1ospH XcVb7MuNwNJ0C2FyfRkkQkj1cYbhnCZjPSq3hRq7g/kp+rRdWZ8om7vOYqQelGNHHemG aaG7yY8n9apRZQATbkEXMBWh6P6Z3Ka8F6txBuVHcq0iZ58Lr9/B4r9/ZGRSB1wAi928 yG3ye7mMBVmVc+WM9/7mbLXoR34louIAaefgAqOeHUZKlD+8RJMbQOAtB9KbzBFD8F5m BpCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691539828; x=1692144628; 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=YHrGrDN/ltTDfyF9eCtAy5HVpRMonDD875ahoyhZAmQFn5tJYNekGgJpsGPkIh0oij zxrNKmMWb52VJAvYnY9u0WXNY5JyuwWhKa9RuEw1Aru6IV9Hh5vK0HUppa2RtY2Be4V0 4CvqxqM/BwBxok7FVEIfj+5GJDVQT4L7OGQRtuZ5/YVLTTOLOR3Qkb3WPOY9DpLf5DG+ Rj/1ZaxBXO4WnS4IYbg5yAjgeACKh0778gL11PPEiVXYnNMc2+Z0T9XXDJvhR8iO8ngx qAbM1M9xXnlmvG8dLwtZFuAdN+FiTZJISJzDpR8w6s4jkVx5iwX21RHuZ4OYBO8KadsX vr+A== X-Gm-Message-State: AOJu0YwkDzMg65g9RSyA65XUlzuAzVyWp83mgoFy7Ouwm1u7cJJA3x1p /C7OkpUidO26/RSLM8N6PhjyZRY/dQEOtotAudAnKg== X-Google-Smtp-Source: AGHT+IHuvEZeVsA2l3dSa3180Wm+y1rsraluFHtBuyEY3tRiBnfPn1pkDU2oYSHqjkdm1rYrHSbntQ== X-Received: by 2002:a17:902:e54e:b0:1b7:f99f:63c9 with SMTP id n14-20020a170902e54e00b001b7f99f63c9mr1234238plf.67.1691539828588; Tue, 08 Aug 2023 17:10:28 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id ix11-20020a170902f80b00b001bc676df6a9sm5745629plb.132.2023.08.08.17.10.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 17:10:28 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v2 01/29] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Tue, 8 Aug 2023 17:09:49 -0700 Message-Id: <20230809001017.293037-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809001017.293037-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20230809001017.293037-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