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 21D3F431B1; Thu, 19 Oct 2023 21:10:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7A5A40A89; Thu, 19 Oct 2023 21:10:29 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id 387B940278 for ; Thu, 19 Oct 2023 21:10:28 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1c9e06f058bso9002635ad.0 for ; Thu, 19 Oct 2023 12:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697742627; x=1698347427; 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=oWKMqNTyJ/Heu2TvHPDeefhN8ccCtUa/T3cU4bKn25E=; b=siSsxPMcFsqJo1pqgR5giNMaBLkF4KKJ8OlKAl126GR5Pd6pT6EKNWXJ7aywKLMNix lyKUtSM1G4gwAL5SNCNM/ObVQCockbWyFqJOc8VY4JZMtioyWDE/kr0RrczzY3AbYMlz QxLrVWO33Nwa5j+Cl4DZzrvlm1pL+1UPBlXvSxU6JIzVdGpgLo4MdJiXxQtZSrr+4FWZ ytpn2LGxHOV7DWWvvWB+7slOCJ5J2hwLV8zuepk35USxrE5HOAGTF/ANELZPUHElAvUK KmCtvGlkanBLw0rGtOxU5IZY+dpF95jidK7JoDv08YpXY3d/n2ZzWj2KWQ9jD5iCYSOX 0+cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697742627; x=1698347427; 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=oWKMqNTyJ/Heu2TvHPDeefhN8ccCtUa/T3cU4bKn25E=; b=GNiJ3IWlPNMDt/QYMty+MOh083q4BwdG64f4izDFVc832qe/sA550Rx7g2v3mRmy/3 Tba79XfeRkODYfbhJ4JlzujnKKoRCik/oTd2nfnCrb7/6PuhbMa2Nn+BgX5GDX9Wu2Ki lu9RGhxgxYMzkIZ5vHqB4YtDig0Eq5hBEXkpTyP//gcvOCxJvYTPyhRfuFoySeB+Q5ZN neI6Avxs6SKpAH6XQ8iWfrq9u2tM6P0dPQGD2dJAYAvGzGXfVGHjBYS5/xOyWygJvirG NSKDd2FNnuIMp7zoHd0VwrjguKeuVgghKpJdCog0km2HDv+Lyh6EPdNtgNxouuoiMY5X Jc/g== X-Gm-Message-State: AOJu0YyhdCX3K9eKvhFLi3WwDdR6sgv4C10XZgGS0KgZBgNRICYUrpIs uaEttzik1u7ycs5svFPZ35YLC2+jo1WN65Nf1/NlgQ== X-Google-Smtp-Source: AGHT+IG0ZR72IWPLCIVG1J7tQfOm8rQ5Ssu1XxLQ14taOophDWs4zOipxCkKfZJlJ4lkLy0smoAZFQ== X-Received: by 2002:a17:902:db06:b0:1c6:23fd:fb18 with SMTP id m6-20020a170902db0600b001c623fdfb18mr4084335plx.0.1697742626793; Thu, 19 Oct 2023 12:10:26 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id h12-20020a170902eecc00b001a9b29b6759sm52464plb.183.2023.10.19.12.10.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 12:10:26 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v4 01/28] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Thu, 19 Oct 2023 12:09:49 -0700 Message-Id: <20231019191016.156430-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231019191016.156430-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231019191016.156430-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 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; -}; -- 2.39.2