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 94ED543011; Wed, 9 Aug 2023 02:11:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 578A043276; Wed, 9 Aug 2023 02:10:37 +0200 (CEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id 03DB243258 for ; Wed, 9 Aug 2023 02:10:35 +0200 (CEST) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1bc83a96067so8019035ad.0 for ; Tue, 08 Aug 2023 17:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691539834; x=1692144634; 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=3WkQ9qS1CltWt9W7oWlHi7bwZYaUt7K03+gBB8wHASCw0GO1ssP2qOHz0x2EW6yAPf O3n20OqniwgivPGEKvq5CRmWFC8pWtFA0utz/bcpRzwiEe2KxXOh91hmEfhVVmTgLDpt zSwVUO0RDCszlceMHBYGev2AnKRPtHtG4VPOlwLANVQ2exk4kPqjWAIMWqH3Nylk0Pwj ZHdz+TxCSyLhEr5fX6SfzI2poK3+PNrs6LXjGltgTz75dAfQ3r+h6fMkG5KY4w7MZRJ/ wENImafmiXO/i+HC0ovuVOhS7NHmZsdZtA9QmChny4gtSpJ9yxNr4+tXanSnzMzYCiZf 1UJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691539834; x=1692144634; 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=gVea16Z/uXCMZMQ/QTE7mhSl19mEzjo6sKrnjcbIXh3+VuF80uoHmjNxaOS3+xwA8x 1udrLdct4J0p+Emy87NPsQnszUtcmzqNzG/STjpg+nmpCeFwR0MBlNs9GK71v4gyrtlN v8Gnkp28V1AnNHoHPzZbI6tUWVuMzh6Pw+0YxOlKKzLCifSjbkna25FJHl6GNTrzmwOu Tlsim1m2BhEoBetNUfIt0+feEbXLPeCQuiZs50azUxcHe0E72vv5SHSSmst7//YF2EAj uYf2/MFTBSz1SZZCRoaGN7wBXGuJXxUDb62AxHSlWUYo0bvDK7Jc5vYlJxn/mGLQh8Kz Vy6A== X-Gm-Message-State: AOJu0Yw76nZg4l8BR2oP3t0Of2vIPOnfwv03dAa0TBYw6MTt/fCPncnh iVJw9Su3jU73ysK+9Dr2he5XLRHv9unxeG6AQCDA7A== X-Google-Smtp-Source: AGHT+IHqx9xB0YC+RIst/1YgfKpE8x8QpZNgHaNt+4s9qZGqRvDPP1OdKPVkGzj2QwWue+Y/zDvrhg== X-Received: by 2002:a17:902:d2cf:b0:1bc:3f9b:d96 with SMTP id n15-20020a170902d2cf00b001bc3f9b0d96mr1267710plc.49.1691539833741; Tue, 08 Aug 2023 17:10:33 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id ix11-20020a170902f80b00b001bc676df6a9sm5745629plb.132.2023.08.08.17.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 17:10:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Reshma Pattan Subject: [PATCH v2 06/29] pcapng: mark API's as stable Date: Tue, 8 Aug 2023 17:09:54 -0700 Message-Id: <20230809001017.293037-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809001017.293037-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20230809001017.293037-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