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 64FBA431EB; Tue, 24 Oct 2023 04:54:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C1A440DF6; Tue, 24 Oct 2023 04:54:36 +0200 (CEST) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTP id 80D54402E4 for ; Tue, 24 Oct 2023 04:54:34 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6b20577ef7bso3156838b3a.3 for ; Mon, 23 Oct 2023 19:54:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698116073; x=1698720873; 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=r5dqGKkOwegUPNF+2arsX/erJCI2deVDSYUPTnfTaLmElgUPDfjbeGzjNzlffWOqU2 IKR1/n7fxeuBit1Wv53O5O3URxobSjTYYZPuTN3CK/5uIHx/m9kwPRxCTatQIqMJSkzK 9f/+h3GPAXlil1RHj9rzAGLQbtFXFOIdSWqqNJ/m3reoT6gWTWdjNuYXTCVPsX/WZnCJ mEAX/Oed+X135y4RyIG+K4wmO5hyva/ToYaxXRuf0BwjPL8ho2XIkbcdqLyzWpnXZ44y 9ptoHAIrM/6fWI4/dTqARlUuDzuPPAvRgOrq/FXGImAZb3+TeC+49aGXPyeLki3akRtA 7f2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698116073; x=1698720873; 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=LOXEkqshe/VVMSRxvthj6iJRwuvN+UtwEHnudrk5r8xjcfC2DPKT/2FFs6SO7yurIl xhMnAKsk+hN6xWlBGEV1MXIKTlnMvQldu+ghD5dVDlg7izccRTvSyHusDBeRrA1r0j8D 3f47Y+37vE9gsub0/uTUKmvVWU9uBrJtphVkZAGTYh7DHbnYOP+Q95rZ9qqPWkG51UaY PoFAE5/dWleMy8WQc/q/74ejiscJfQheTXm6i9t7gWbmGZUlVhe+nE+qgqnbYHoxasxK PZdreENw2TemBhJ/QUbYDRJLpVUmPdQQ32U64vEktr70BZQAlAD+3bjp2MgjeWfTRrsT cvLQ== X-Gm-Message-State: AOJu0Yy4UUIrpgEzc3vMR/nvdvIIY+gCcMg1O23IZ6d9qLZrggopQFI/ oFaZZgTjUB7KRXgYv2hJSvQ2mQTYR6z+f1qrhXtkKg== X-Google-Smtp-Source: AGHT+IHTj909aVCeswwSa+akRWnz3HuLtQBpmjkktt5KeKjGowDv2Dcr0b7BWDq7b6tLcTAb1kEORA== X-Received: by 2002:a05:6a00:9392:b0:693:4143:5145 with SMTP id ka18-20020a056a00939200b0069341435145mr9333442pfb.31.1698116073295; Mon, 23 Oct 2023 19:54:33 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id b22-20020aa79516000000b0069b772c4325sm6802348pfp.87.2023.10.23.19.54.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 19:54:32 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v7 01/25] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Mon, 23 Oct 2023 19:53:58 -0700 Message-Id: <20231024025422.126021-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231024025422.126021-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231024025422.126021-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