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 E7A2D431AE; Thu, 19 Oct 2023 18:56:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E4D240E03; Thu, 19 Oct 2023 18:56:14 +0200 (CEST) Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) by mails.dpdk.org (Postfix) with ESMTP id 874E740150 for ; Thu, 19 Oct 2023 18:56:11 +0200 (CEST) Received: by mail-oo1-f42.google.com with SMTP id 006d021491bc7-581bca3ebb0so2303974eaf.0 for ; Thu, 19 Oct 2023 09:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697734570; x=1698339370; 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=Eq69wSlZRuWb6WDTYlzEwhWBCSDF3UaR+iQfcuNvb25DdkbN9RzFLVuyJ4ByrlV8Bx YQR+rwrnoTrQPaMTuHsCH3cj1vQdZ5eTRRsEGYbTJsDiuzTRnRueY8t9o5PUztosqWfD fAvNlfu5+wAPk7aM4UAT+yf5LWiaoCg5d6Oof5nF+64g3gGWxTQkIIpEalz4rDGQXYKT 0tUGVxDzicLLA7BX+5HedWS1FH1lwY2oDCuXqdt75e1Ay/Ghjrfvi5k1MQLc93F+9P6j 6Zf3q9+UlcBFDez1azdi+EcT/LnjWSwMqtNhrkNDiNtAhg2q/sTXxTyY6ai70kI+jxC8 3GXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697734570; x=1698339370; 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=tRF4Qc9QT5ZPJ1PL1s6sJFHgGADjbahQk9dsUSG6wl3/DwITht4eSLVqFrFdORNCU4 coZEbZR1VRD+qTkhOmitbwP7Dl0k4D0X/pOpVRpYVXzopDcu8aVssrtpKiekmGhJXcu3 Rf0tWDtLExtMyid5MrkSFOeVWEDkBq0rII5y2WU6d3zk+DoasDt5uvfjSvJUnNQRSDtC ui7bVvbeLevZokW+ciVLP+ebIXJZLv4I56CmK7M6M77PapNfBMTMxdHqZuEhonvtVw8/ DGNmRTBzgBwgvZf9xw16Nn73v7wa0J7+gl9+CI0G0pp6yR7ZmOFdWQm6v4BGlmG30839 8WZQ== X-Gm-Message-State: AOJu0YyeNvVedlOFS6k0n56B4pV2DYRyEgoi2vfnySuKjdz/A3InfXbX bP3uCsNEMZbQBqeb36pfpv8H1joJDuBlt6BX2wARUg== X-Google-Smtp-Source: AGHT+IFiTwoP2xXTfYNfPZL+PVpgvr86hsfg+FItuuYJNk+mS9l44MPEVEzPsiJ41+EQE9TgMTbOOw== X-Received: by 2002:a05:6359:1a47:b0:166:f435:1c7a with SMTP id ru7-20020a0563591a4700b00166f4351c7amr2559738rwb.27.1697734570082; Thu, 19 Oct 2023 09:56:10 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id y22-20020aa79436000000b00672ea40b8a9sm13988pfo.170.2023.10.19.09.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 09:56:09 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v3 01/29] bpf: make rte_bpf_dump and rte_bpf_convert stable API's Date: Thu, 19 Oct 2023 09:55:30 -0700 Message-Id: <20231019165559.115742-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231019165559.115742-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20231019165559.115742-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