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 6994A431EB; Tue, 24 Oct 2023 04:40:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3365540C35; Tue, 24 Oct 2023 04:40:04 +0200 (CEST) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mails.dpdk.org (Postfix) with ESMTP id 01ADB400D5 for ; Tue, 24 Oct 2023 04:40:01 +0200 (CEST) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-5a1d89ff4b9so2175395a12.0 for ; Mon, 23 Oct 2023 19:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698115200; x=1698720000; 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=SixivhuywkEh8yHR2SsjLs4fA8p9tZyC+GeCIe+CQPggBj504QRzH+SSXJu2ODK0Ro UHHIpeTLDZkuLrTTQKN92ez34OaWbypIPRpEdxc/99acM4sVXVFjEHRX8IKhN+693TWP xmbt39RaLmJ1UeHkmeykR/r0h6PPASuyLxCYmnHOGXoKNuUIXS/FlDFwE+8menvtdSGA VNzitcikcYYtiD6sanBiZ7KsRiVWOEUTYiNmjq9nlV8zVM7czpKfQu3dOcXbrf7vBxNE T1m/A/GJCkAy7tuSl4/N7n44uDKeufEbYRwhWvADfxLCF1cbE3bnbysBrxRp9rzhAz/r Ljfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698115200; x=1698720000; 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=I6XxUBYhAoikaICC3OXOvKdD4V2xfxLyKJKJh4XSArUh81o19U+wsCdbi33YyMhWcj ecNPIASNiCpv9p193KTaaY8PqRfwlo4813ha7kPb1mJM4s9gzTA8Xro0N6zqX0wK4PDj J8gCXq+ql/MDaiJbO6hH8z31TfZfnBQSxzmGQAo4XomOZbZISGo4ORnbvY/s6F9T/8la LkSXgW2E1Pm4DhlX5+IENLYTPurNCMEnDoHQoVZ057/s19oYKLgVC9IWqQ2yEJqhBmlh pesxNQex0e4NcqWMky7eCHgNpEmmXVBhtjBycBMR2+yvfgzMJdd5pHSZkfnK0gMaDJOy cUtA== X-Gm-Message-State: AOJu0YynocFA68lUth4ZjN260TBKDNt7M+NUmiJgoeMT8uaoC5gYD7oc SWx7F9cFAjr4DWwUB+V9il+AO951J0sRZt00qhB0ww== X-Google-Smtp-Source: AGHT+IFnOUb2mgzJj5chTweO5jvmqsiMdQHp1GTh816mBqKR/xlYSd1vVLVoo/mUXb4hsam58s+Hew== X-Received: by 2002:a05:6a21:7906:b0:17b:1ab9:5790 with SMTP id bg6-20020a056a21790600b0017b1ab95790mr1271046pzc.50.1698115199845; Mon, 23 Oct 2023 19:39:59 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 21-20020a17090a01d500b0027732eb24bbsm9069186pjd.4.2023.10.23.19.39.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:39:59 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v6 01/25] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Mon, 23 Oct 2023 19:39:23 -0700 Message-Id: <20231024023947.15859-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024023947.15859-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024023947.15859-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 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; -}; -- 2.39.2