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 C338E431B1; Thu, 19 Oct 2023 21:11:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E419142E07; Thu, 19 Oct 2023 21:10:36 +0200 (CEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id B85F241156 for ; Thu, 19 Oct 2023 21:10:32 +0200 (CEST) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1ca72f8ff3aso34875ad.0 for ; Thu, 19 Oct 2023 12:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697742632; x=1698347432; 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=6GCqkFBE1/lyTj4zhwSeujQOQFBXsOxFgsCFGMg/bNI=; b=McvEEYiP9E4e2PkUuEJNM1DveV/39O539Py4YWpGyM9TzIFmEVUyv5vgeoSZ9gjk8i bnJ/sJcem4Rd632pifw2nGXLqZfUTvgO5fTRkLVsoYqzfVWz3lB7oHKVs0HKJdjU0U/t kQvUEUfCvwRMGpFUIimWNGPgRB05oPCz/9igKAXqWisGnq8vCZ0jTkyFslhEhuQ9u6fE VFN2OLcEqjJVtgme6hwS7RiDJ+Ii6fBJhKSmkKHYyGm3HGA5fPK7Qz1VFByxYlzYbfz7 ZR5wDaPHA8YkDVBLhz9XHXZESRUc5ZazvELhSeryKNUrPRFXioTPwGVEZGE6Im2903Pr aPPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697742632; x=1698347432; 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=6GCqkFBE1/lyTj4zhwSeujQOQFBXsOxFgsCFGMg/bNI=; b=IJALvbHvFRPNbzrlxgCeV2NNWxwKuqmuyVEWazY1Q5YMo+DaCHV5zEVVUBeHgWDIwH wYjSa7gk6UZlXnC/VPEY83a2YBzFWVqOtVDfyE2BY4jO0Qw+tPNk65seiS/1tYoAZKVh ELRM573Vl/gmC26r0rfs62osWFASiCArkJd2z+zsWnvMByF/C29iifW6BLqKuJFvep9Z 4wrQFST7GMwhZD87cnDOWMFH5K994szEb9p6YJ3vZIFZ3TGPEzM6NL/AJyWB5uY/GM4O bRK7O8ZjBpbNGKVg4szdB/J05s5jzhvGU3I4csWZCbHgFdywvL5JipCPkYGY39s8CbaH zNxg== X-Gm-Message-State: AOJu0YymyrlPXvI7UnJSyW0t2z9XfcDeJKziZjjIRh810JQMR2BjNuIE OqEI3JPXncEkDpLlWzmSm+olts3kwtTelRliPBW4gQ== X-Google-Smtp-Source: AGHT+IHJl3TPRLTTGrOUk3PK3Xi8d4nYCbWhhBKU3sA1RnpLyt4f8vqIazmkXGg+aaGokIlFFN1G+Q== X-Received: by 2002:a17:902:f0cd:b0:1c9:c951:57f9 with SMTP id v13-20020a170902f0cd00b001c9c95157f9mr2650625pla.68.1697742631547; Thu, 19 Oct 2023 12:10:31 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 12:10:30 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Reshma Pattan Subject: [PATCH v4 06/28] pcapng: mark API's as stable Date: Thu, 19 Oct 2023 12:09:54 -0700 Message-Id: <20231019191016.156430-7-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 This API was added in 23.11 and can now be marked as not experimental. Signed-off-by: Stephen Hemminger --- lib/pcapng/rte_pcapng.h | 11 ----------- lib/pcapng/version.map | 6 ++---- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/lib/pcapng/rte_pcapng.h b/lib/pcapng/rte_pcapng.h index d93cc9f73ad5..c96c8994f38b 100644 --- a/lib/pcapng/rte_pcapng.h +++ b/lib/pcapng/rte_pcapng.h @@ -6,10 +6,6 @@ * @file * RTE pcapng * - * @warning - * @b EXPERIMENTAL: - * All functions in this file may be changed or removed without prior notice. - * * Pcapng is an evolution from the pcap format, created to address some of * its deficiencies. Namely, the lack of extensibility and inability to store * additional information. @@ -54,7 +50,6 @@ typedef struct rte_pcapng rte_pcapng_t; * @return * handle to library, or NULL in case of error (and rte_errno is set). */ -__rte_experimental rte_pcapng_t * rte_pcapng_fdopen(int fd, const char *osname, const char *hardware, @@ -66,7 +61,6 @@ rte_pcapng_fdopen(int fd, * @param self * handle to library */ -__rte_experimental void rte_pcapng_close(rte_pcapng_t *self); @@ -89,7 +83,6 @@ rte_pcapng_close(rte_pcapng_t *self); * and before any packet record. All ports used in packet capture * must be added. */ -__rte_experimental int rte_pcapng_add_interface(rte_pcapng_t *self, uint16_t port, const char *ifname, const char *ifdescr, @@ -132,7 +125,6 @@ enum rte_pcapng_direction { * - The pointer to the new mbuf formatted for pcapng_write * - NULL if allocation fails. */ -__rte_experimental struct rte_mbuf * rte_pcapng_copy(uint16_t port_id, uint32_t queue, const struct rte_mbuf *m, struct rte_mempool *mp, @@ -149,7 +141,6 @@ rte_pcapng_copy(uint16_t port_id, uint32_t queue, * The minimum size of mbuf data to handle packet with length bytes. * Accounting for required header and trailer fields */ -__rte_experimental uint32_t rte_pcapng_mbuf_size(uint32_t length); @@ -174,7 +165,6 @@ rte_pcapng_mbuf_size(uint32_t length); * The number of bytes written to file, -1 on failure to write file. * The mbuf's in *pkts* are always freed. */ -__rte_experimental ssize_t rte_pcapng_write_packets(rte_pcapng_t *self, struct rte_mbuf *pkts[], uint16_t nb_pkts); @@ -205,7 +195,6 @@ rte_pcapng_write_packets(rte_pcapng_t *self, * @return * number of bytes written to file, -1 on failure to write file */ -__rte_experimental ssize_t rte_pcapng_write_stats(rte_pcapng_t *self, uint16_t port, const char *comment, diff --git a/lib/pcapng/version.map b/lib/pcapng/version.map index 36393914d97c..81c9652ad6b5 100644 --- a/lib/pcapng/version.map +++ b/lib/pcapng/version.map @@ -1,6 +1,7 @@ -EXPERIMENTAL { +DPDK_24 { global: + rte_pcapng_add_interface; rte_pcapng_close; rte_pcapng_copy; rte_pcapng_fdopen; @@ -8,8 +9,5 @@ EXPERIMENTAL { rte_pcapng_write_packets; rte_pcapng_write_stats; - # added in 23.03 - rte_pcapng_add_interface; - local: *; }; -- 2.39.2