From patchwork Fri Oct 20 21:41:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133105 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EB25D431BE; Fri, 20 Oct 2023 23:41:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 153C3406B6; Fri, 20 Oct 2023 23:41:34 +0200 (CEST) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mails.dpdk.org (Postfix) with ESMTP id 696BF40266 for ; Fri, 20 Oct 2023 23:41:32 +0200 (CEST) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-5859a7d6556so999230a12.0 for ; Fri, 20 Oct 2023 14:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838091; x=1698442891; 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=MJwkmISNY3oAekuAZhNv+UmjBjWzhZSV9RIJ1i3a3vc=; b=2kJ75PCH3U6L/XCwT4tSX/Cp+v8PVeQSkQ5gx1MWBK+owKzDC3k/FuuYNZ52op3shR +/RnMTK6WgTRlMC2Xg8b0KG9xLykcfuhnn2TFH+uMIYGU9LoJDfhzInAyZQh0UXuDv3x oO0DM0Md/u2C3z2QpUmeMTDxSLuJu1TqKRzspUCH/qua7/5soHfzHmyROmrT4630xxgG +Xo+szZOrgcIXLTTQdhDPx0OJTpbDiFI72hlr4obnF8tA02iaxc89R+Ul9s2upMb74Lc xdBFwMoaaRHBDA6oZcic1oVFruRd/tuaMDIrn07TKYs8dcmmcpEifHYK3Qot3uEZHOpR R7Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838091; x=1698442891; 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=MJwkmISNY3oAekuAZhNv+UmjBjWzhZSV9RIJ1i3a3vc=; b=tP1IHgBMVeDoHZygLGz3xkdiNARvsBc2vXWDR6MfhxVLYWDRVHWphWNlzruXK3YHVN x5Mr9EbI4aEztI7nPoCnBNuavi9XntYWoFf56DxAkC3J5KfRwH80W8CU9XEUk5oh361Y xq0QHQYn2jd7MzMDFGIfVD75tEb3cjGnmI74xRUGAAHMuYX8Ip6EVuR5LZPOL/vjoSAD r03Mv6utTI5Y9XsOc9rafd0CGtynVYxgYXMc93URelVjvfdzziY6+EMKp7P3So+SG96O iOySdt4YWpe/Qnl5lHIBA/GXg4RQ7QcTBwQ5ERtxYJfOiy4KDuPwIDPMxn5XZihFo2U2 EcHw== X-Gm-Message-State: AOJu0YzIRurzqUegmGQJQQ8W2aHPaVQ76GOOZYUxyij+a3vrVghMQmnE b5leh3b22MDDWhwdm2zH9Gpb/MCObvXyHP2RRto88g== X-Google-Smtp-Source: AGHT+IHKOLfVoKJMrhOrFOHffyntni7beTVJxP0F7BmDmt5vsi6TW4ar2q40saxrqyBfcoGGcbm3WA== X-Received: by 2002:a05:6a20:4416:b0:140:3aa:e2ce with SMTP id ce22-20020a056a20441600b0014003aae2cemr3682294pzb.42.1697838091128; Fri, 20 Oct 2023 14:41:31 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:30 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu , Joyce Kong Subject: [PATCH v2 01/14] eal: make bitops a stable API Date: Fri, 20 Oct 2023 14:41:06 -0700 Message-Id: <20231020214119.255491-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 were added in 20.05 release. Signed-off-by: Stephen Hemminger Reviewed-by: Joyce Kong --- lib/eal/include/rte_bitmap.h | 8 -------- lib/eal/include/rte_bitops.h | 40 ------------------------------------ 2 files changed, 48 deletions(-) diff --git a/lib/eal/include/rte_bitmap.h b/lib/eal/include/rte_bitmap.h index 46a822768d50..ec819595624c 100644 --- a/lib/eal/include/rte_bitmap.h +++ b/lib/eal/include/rte_bitmap.h @@ -203,9 +203,6 @@ rte_bitmap_init(uint32_t n_bits, uint8_t *mem, uint32_t mem_size) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Bitmap clear slab overhead bits. * * @param slabs @@ -215,7 +212,6 @@ rte_bitmap_init(uint32_t n_bits, uint8_t *mem, uint32_t mem_size) * @param pos * The start bit position in the slabs to be cleared. */ -__rte_experimental static inline void __rte_bitmap_clear_slab_overhead_bits(uint64_t *slabs, uint32_t slab_size, uint32_t pos) @@ -235,9 +231,6 @@ __rte_bitmap_clear_slab_overhead_bits(uint64_t *slabs, uint32_t slab_size, } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Bitmap initialization with all bits set * * @param n_bits @@ -249,7 +242,6 @@ __rte_bitmap_clear_slab_overhead_bits(uint64_t *slabs, uint32_t slab_size, * @return * Handle to bitmap instance. */ -__rte_experimental static inline struct rte_bitmap * rte_bitmap_init_with_all_set(uint32_t n_bits, uint8_t *mem, uint32_t mem_size) { diff --git a/lib/eal/include/rte_bitops.h b/lib/eal/include/rte_bitops.h index 6b8ae8d3acf6..29d24b3a780e 100644 --- a/lib/eal/include/rte_bitops.h +++ b/lib/eal/include/rte_bitops.h @@ -42,9 +42,6 @@ extern "C" { /*------------------------ 32-bit relaxed operations ------------------------*/ /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Get the target bit from a 32-bit value without memory ordering. * * @param nr @@ -54,7 +51,6 @@ extern "C" { * @return * The target bit. */ -__rte_experimental static inline uint32_t rte_bit_relaxed_get32(unsigned int nr, volatile uint32_t *addr) { @@ -65,9 +61,6 @@ rte_bit_relaxed_get32(unsigned int nr, volatile uint32_t *addr) } /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Set the target bit in a 32-bit value to 1 without memory ordering. * * @param nr @@ -75,7 +68,6 @@ rte_bit_relaxed_get32(unsigned int nr, volatile uint32_t *addr) * @param addr * The address holding the bit. */ -__rte_experimental static inline void rte_bit_relaxed_set32(unsigned int nr, volatile uint32_t *addr) { @@ -86,9 +78,6 @@ rte_bit_relaxed_set32(unsigned int nr, volatile uint32_t *addr) } /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Clear the target bit in a 32-bit value to 0 without memory ordering. * * @param nr @@ -96,7 +85,6 @@ rte_bit_relaxed_set32(unsigned int nr, volatile uint32_t *addr) * @param addr * The address holding the bit. */ -__rte_experimental static inline void rte_bit_relaxed_clear32(unsigned int nr, volatile uint32_t *addr) { @@ -107,9 +95,6 @@ rte_bit_relaxed_clear32(unsigned int nr, volatile uint32_t *addr) } /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Return the original bit from a 32-bit value, then set it to 1 without * memory ordering. * @@ -120,7 +105,6 @@ rte_bit_relaxed_clear32(unsigned int nr, volatile uint32_t *addr) * @return * The original bit. */ -__rte_experimental static inline uint32_t rte_bit_relaxed_test_and_set32(unsigned int nr, volatile uint32_t *addr) { @@ -133,9 +117,6 @@ rte_bit_relaxed_test_and_set32(unsigned int nr, volatile uint32_t *addr) } /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Return the original bit from a 32-bit value, then clear it to 0 without * memory ordering. * @@ -146,7 +127,6 @@ rte_bit_relaxed_test_and_set32(unsigned int nr, volatile uint32_t *addr) * @return * The original bit. */ -__rte_experimental static inline uint32_t rte_bit_relaxed_test_and_clear32(unsigned int nr, volatile uint32_t *addr) { @@ -161,9 +141,6 @@ rte_bit_relaxed_test_and_clear32(unsigned int nr, volatile uint32_t *addr) /*------------------------ 64-bit relaxed operations ------------------------*/ /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Get the target bit from a 64-bit value without memory ordering. * * @param nr @@ -173,7 +150,6 @@ rte_bit_relaxed_test_and_clear32(unsigned int nr, volatile uint32_t *addr) * @return * The target bit. */ -__rte_experimental static inline uint64_t rte_bit_relaxed_get64(unsigned int nr, volatile uint64_t *addr) { @@ -184,9 +160,6 @@ rte_bit_relaxed_get64(unsigned int nr, volatile uint64_t *addr) } /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Set the target bit in a 64-bit value to 1 without memory ordering. * * @param nr @@ -194,7 +167,6 @@ rte_bit_relaxed_get64(unsigned int nr, volatile uint64_t *addr) * @param addr * The address holding the bit. */ -__rte_experimental static inline void rte_bit_relaxed_set64(unsigned int nr, volatile uint64_t *addr) { @@ -205,9 +177,6 @@ rte_bit_relaxed_set64(unsigned int nr, volatile uint64_t *addr) } /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Clear the target bit in a 64-bit value to 0 without memory ordering. * * @param nr @@ -215,7 +184,6 @@ rte_bit_relaxed_set64(unsigned int nr, volatile uint64_t *addr) * @param addr * The address holding the bit. */ -__rte_experimental static inline void rte_bit_relaxed_clear64(unsigned int nr, volatile uint64_t *addr) { @@ -226,9 +194,6 @@ rte_bit_relaxed_clear64(unsigned int nr, volatile uint64_t *addr) } /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Return the original bit from a 64-bit value, then set it to 1 without * memory ordering. * @@ -239,7 +204,6 @@ rte_bit_relaxed_clear64(unsigned int nr, volatile uint64_t *addr) * @return * The original bit. */ -__rte_experimental static inline uint64_t rte_bit_relaxed_test_and_set64(unsigned int nr, volatile uint64_t *addr) { @@ -252,9 +216,6 @@ rte_bit_relaxed_test_and_set64(unsigned int nr, volatile uint64_t *addr) } /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Return the original bit from a 64-bit value, then clear it to 0 without * memory ordering. * @@ -265,7 +226,6 @@ rte_bit_relaxed_test_and_set64(unsigned int nr, volatile uint64_t *addr) * @return * The original bit. */ -__rte_experimental static inline uint64_t rte_bit_relaxed_test_and_clear64(unsigned int nr, volatile uint64_t *addr) { From patchwork Fri Oct 20 21:41:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133106 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4618A431BE; Fri, 20 Oct 2023 23:41:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C36840DC9; Fri, 20 Oct 2023 23:41:37 +0200 (CEST) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mails.dpdk.org (Postfix) with ESMTP id A603A402E0 for ; Fri, 20 Oct 2023 23:41:33 +0200 (CEST) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-5b5354da665so870698a12.2 for ; Fri, 20 Oct 2023 14:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838092; x=1698442892; 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=lIGExvbjqvTLu9DYMWuFCnLXrcEDJA9Qb6lqIsdDDgI=; b=1gtcgBpLZm4E7WAaQLMjLxmp2L9yqbbAiNbBfK6eceLzYTX4IUL/eBfkbpKHJm0Kjm irXjCHkOCVUNOox3F7fzRB451th0nPI2F1Paps5h3OFXRif1FN8Fa+lUdhS35u9BGwvK zNZBEJB9osGzMBzPCIg6A6dsCHOBikP8h0/c0eTXiGpnK5x7+CmUz/WamsdX4Z27+2Om IKUPiM89evi0MDLEFZih8SSti5+ht44LPVJU8iXtCJecIrsZSTl0Huz8LZ/pcPvgllkp 6scfo5WEb3cDwJ+/m+n2+Weso8UDRXUTBa4GTLI2jDumK7EW95yEAQWAbd3wF8vv3uf3 pgpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838092; x=1698442892; 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=lIGExvbjqvTLu9DYMWuFCnLXrcEDJA9Qb6lqIsdDDgI=; b=VMZB+498BAbkAhkSvBrqF1PRaXjEyzbK6CNI7xHG2wZfZ97oaLARFbXhQMmHmO/2YT aJaE6klHnchWE40kKv312iK5nPn+8YiY0S+NaTapm/WHbjGgZ9WNmTqDS0zNKA7vSKQ8 on/K6nYtiMRgNfKZ+ecI4CBNrqJo0gODm+HLq0adn9x5mhzc8UoADUe/xQwpGda4rd4d NWBbL1KA2aT45LxJCIYPdKSnYcEKGXEo9JgES3mxofemgGH8mMn1m5Mdv51cAIwaKdGs wr8wObliwu3pp2LmJaiCKlsveUHR5Y55ZrIlhEzHkWEZnenmraaObUi2Sk5o/InhBDnT JRKw== X-Gm-Message-State: AOJu0Yws6gQAaaCTI9GJKwf6ghWXPCnzohdq2pIWBp/FmQarDooep8jQ RAgOlKLU9xb6Bpf2u7I36X7j1WQ+69djTO4F2dq1VA== X-Google-Smtp-Source: AGHT+IGzCEqLD0S0VYbyCkLFLjL5DmnMsQbgrdwjYJ+u5hO3f/b60Ld4uMT7JW8TrHAniIfkn/urWw== X-Received: by 2002:a05:6a21:7788:b0:16e:ab42:9837 with SMTP id bd8-20020a056a21778800b0016eab429837mr2996764pzc.29.1697838092172; Fri, 20 Oct 2023 14:41:32 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:31 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 02/14] eal: mark rte_dev API's as stable Date: Fri, 20 Oct 2023 14:41:07 -0700 Message-Id: <20231020214119.255491-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 have been around since 2020. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_dev.h | 32 -------------------------------- lib/eal/version.map | 28 +++++++++++----------------- 2 files changed, 11 insertions(+), 49 deletions(-) diff --git a/lib/eal/include/rte_dev.h b/lib/eal/include/rte_dev.h index 8568535ac04b..86ef2f54235d 100644 --- a/lib/eal/include/rte_dev.h +++ b/lib/eal/include/rte_dev.h @@ -341,7 +341,6 @@ typedef void *(*rte_dev_iterate_t)(const void *start, * 0 on successful initialization. * <0 on error. */ -__rte_experimental int rte_dev_iterator_init(struct rte_dev_iterator *it, const char *str); @@ -361,7 +360,6 @@ rte_dev_iterator_init(struct rte_dev_iterator *it, const char *str); * NULL if an error occurred (rte_errno is set). * NULL if no device could be found (rte_errno is not set). */ -__rte_experimental struct rte_device * rte_dev_iterator_next(struct rte_dev_iterator *it); @@ -372,9 +370,6 @@ rte_dev_iterator_next(struct rte_dev_iterator *it); dev = rte_dev_iterator_next(it)) /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * It registers the callback for the specific device. * Multiple callbacks can be registered at the same time. * @@ -390,16 +385,12 @@ rte_dev_iterator_next(struct rte_dev_iterator *it); * - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_dev_event_callback_register(const char *device_name, rte_dev_event_cb_fn cb_fn, void *cb_arg); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * It unregisters the callback according to the specified device. * * @param device_name @@ -415,16 +406,12 @@ rte_dev_event_callback_register(const char *device_name, * - On success, return the number of callback entities removed. * - On failure, a negative value. */ -__rte_experimental int rte_dev_event_callback_unregister(const char *device_name, rte_dev_event_cb_fn cb_fn, void *cb_arg); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Executes all the user application registered callbacks for * the specific device. * @@ -433,64 +420,47 @@ rte_dev_event_callback_unregister(const char *device_name, * @param event * the device event type. */ -__rte_experimental void rte_dev_event_callback_process(const char *device_name, enum rte_dev_event_type event); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Start the device event monitoring. * * @return * - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_dev_event_monitor_start(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Stop the device event monitoring. * * @return * - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_dev_event_monitor_stop(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Enable hotplug handling for devices. * * @return * - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_dev_hotplug_handle_enable(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Disable hotplug handling for devices. * * @return * - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_dev_hotplug_handle_disable(void); @@ -514,7 +484,6 @@ rte_dev_hotplug_handle_disable(void); * 0 if mapping was successful. * Negative value and rte_errno is set otherwise. */ -__rte_experimental int rte_dev_dma_map(struct rte_device *dev, void *addr, uint64_t iova, size_t len); @@ -538,7 +507,6 @@ rte_dev_dma_map(struct rte_device *dev, void *addr, uint64_t iova, size_t len); * 0 if un-mapping was successful. * Negative value and rte_errno is set otherwise. */ -__rte_experimental int rte_dev_dma_unmap(struct rte_device *dev, void *addr, uint64_t iova, size_t len); diff --git a/lib/eal/version.map b/lib/eal/version.map index e00a844805bb..01ff887358fa 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -28,8 +28,19 @@ DPDK_24 { rte_dev_bus; rte_dev_bus_info; rte_dev_devargs; + rte_dev_dma_map; + rte_dev_dma_unmap; rte_dev_driver; + rte_dev_event_callback_process; + rte_dev_event_callback_register; + rte_dev_event_callback_unregister; + rte_dev_event_monitor_start; + rte_dev_event_monitor_stop; + rte_dev_hotplug_handle_disable; + rte_dev_hotplug_handle_enable; rte_dev_is_probed; + rte_dev_iterator_init; + rte_dev_iterator_next; rte_dev_name; rte_dev_numa_node; rte_dev_probe; @@ -309,28 +320,11 @@ DPDK_24 { EXPERIMENTAL { global: - # added in 18.05 - rte_dev_event_callback_register; - rte_dev_event_callback_unregister; - rte_dev_event_monitor_start; - rte_dev_event_monitor_stop; - # added in 18.08 rte_class_find; rte_class_find_by_name; rte_class_register; rte_class_unregister; - rte_dev_iterator_init; - rte_dev_iterator_next; - - # added in 18.11 - rte_dev_event_callback_process; - rte_dev_hotplug_handle_disable; - rte_dev_hotplug_handle_enable; - - # added in 19.05 - rte_dev_dma_map; - rte_dev_dma_unmap; # added in 20.05 __rte_eal_trace_generic_double; From patchwork Fri Oct 20 21:41:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133107 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EFE48431BE; Fri, 20 Oct 2023 23:41:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A31D740E6E; Fri, 20 Oct 2023 23:41:38 +0200 (CEST) Received: from mail-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) by mails.dpdk.org (Postfix) with ESMTP id 5B90340A6B for ; Fri, 20 Oct 2023 23:41:34 +0200 (CEST) Received: by mail-oo1-f54.google.com with SMTP id 006d021491bc7-57babef76deso712681eaf.0 for ; Fri, 20 Oct 2023 14:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838093; x=1698442893; 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=kPO1m0PrnoZC1uKdln3QMzRZM8+M6j8z8DIz44vAz64=; b=w0tZmKhVHSq9La75v/Ks/FzJwpAKM/0AaXx/Qyg4Z3HoA0BXEJGQbYuE3ep7HnCxgc 6z5aIUYYfyDu7rJY4QAW8rYBOjoZdPHASQnwR1ezmPYKsowBItkweRJGf7Kzx4AIefZz sEy7KcKag8BOyU7AVm9bWFa+uEKBP3CCbEAQTbqmtOWPvI2fBwiTqAsy+teUzRJEvxPj sCO1DUVvGGCwB6Qw7It1R6dZiqgGf02A2kdVR3yARJrs/1etjgJBUcpWDLsGGcfLXrND zv1AYqsoPIe7lk+q5VhqSFhTv6Im2zMfc7zueqSC08SiGDaZpQPazAOv4WEyl9lzLIjy xZxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838093; x=1698442893; 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=kPO1m0PrnoZC1uKdln3QMzRZM8+M6j8z8DIz44vAz64=; b=c22YaPY/9awGgr/G2sGuvERRuYASKof657u2cp4NEy5wa4P7EqD/mDeH8rhLcFMUsn 3QI0B5N4jgsM18o7QzceZE+zPcahm63oYvlkNO1HDRvRs6bnqPhOmrMyF46zl1cYP/yz 3z5PU+Em5lYD2c6iz/GU24/CmIIGv4rAOXS91Syh1e4PkJs880F4gC1QSfLcC/iyYbbJ ZNfwDvejz2BZSZ4pUrVbjtszgLmdGdQMQGiXP5IwbpTJ8Mk0RSG35i065XiuZZDa4BCj v5ZfNgjvQSdoyzCHa4dYEbfQFyrwfdWi/ESIO8IXLxeSGTiVhqkXxQTJKoTSeYjLVLSq MoLQ== X-Gm-Message-State: AOJu0Yy7cMOK0KfGc+6M+wsg3cySvYng1QmW28Z4o2QhPW6yBl86mmZl t6eHMPqJKP/SD9W3l4toHbXdP/ohuENKHmlcBekz5A== X-Google-Smtp-Source: AGHT+IG3VCd3L68lIkGXbbUmmZo7/s5jMqJ1XVR6T+Pv6wvIY4dmLNUhN59X32qY/hsQDfpgeIUcHw== X-Received: by 2002:a05:6358:7e07:b0:134:e458:688d with SMTP id o7-20020a0563587e0700b00134e458688dmr3710960rwm.15.1697838093231; Fri, 20 Oct 2023 14:41:33 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:32 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 03/14] eal: make rte_class API's stable Date: Fri, 20 Oct 2023 14:41:08 -0700 Message-Id: <20231020214119.255491-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 API's have been around for a while. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_class.h | 4 ---- lib/eal/version.map | 10 ++++------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/lib/eal/include/rte_class.h b/lib/eal/include/rte_class.h index 47b1764e7bf9..487d1abcde72 100644 --- a/lib/eal/include/rte_class.h +++ b/lib/eal/include/rte_class.h @@ -76,7 +76,6 @@ typedef int (*rte_class_cmp_t)(const struct rte_class *cls, const void *data); * @return * A pointer to a rte_class structure or NULL in case no class matches */ -__rte_experimental struct rte_class * rte_class_find(const struct rte_class *start, rte_class_cmp_t cmp, const void *data); @@ -84,7 +83,6 @@ rte_class_find(const struct rte_class *start, rte_class_cmp_t cmp, /** * Find the registered class for a given name. */ -__rte_experimental struct rte_class * rte_class_find_by_name(const char *name); @@ -95,7 +93,6 @@ rte_class_find_by_name(const char *name); * A pointer to a rte_class structure describing the class * to be registered. */ -__rte_experimental void rte_class_register(struct rte_class *cls); /** @@ -105,7 +102,6 @@ void rte_class_register(struct rte_class *cls); * A pointer to a rte_class structure describing the class * to be unregistered. */ -__rte_experimental void rte_class_unregister(struct rte_class *cls); /** diff --git a/lib/eal/version.map b/lib/eal/version.map index 01ff887358fa..5fd7ceec94fb 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -17,6 +17,10 @@ DPDK_24 { rte_bus_scan; rte_calloc; rte_calloc_socket; + rte_class_find; + rte_class_find_by_name; + rte_class_register; + rte_class_unregister; rte_cpu_get_flag_enabled; rte_cpu_get_flag_name; rte_cpu_is_supported; # WINDOWS_NO_EXPORT @@ -320,12 +324,6 @@ DPDK_24 { EXPERIMENTAL { global: - # added in 18.08 - rte_class_find; - rte_class_find_by_name; - rte_class_register; - rte_class_unregister; - # added in 20.05 __rte_eal_trace_generic_double; __rte_eal_trace_generic_float; From patchwork Fri Oct 20 21:41:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133108 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 782C2431BE; Fri, 20 Oct 2023 23:42:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED12E41143; Fri, 20 Oct 2023 23:41:39 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 57B6340A7A for ; Fri, 20 Oct 2023 23:41:35 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6b5af4662b7so1194649b3a.3 for ; Fri, 20 Oct 2023 14:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838094; x=1698442894; 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=icOvJbOJsTDdP+66R4uRBps9bpq6ofm0IVLkWhoTkTA=; b=nWFxMS68QzDJGn2HDkxAfi04AYkmo/wzbnCG3O6lQdH2Omz2aWlmhSHTFpQbfiWNVV QlzH1ozAGBp4adc3mrSbftCqFxaCvYxln8Bfml+cxy1tJqj2OIWYWoYAZqeJRs+MtIiA 4DGMrQBwBarhQHl9ECw9657B1Zr8l5NgQN4OnCVX0EErjsjFypyW7vzRp1u3DKpO+BtB 8cEhbdZVdolV5TumNCOUEeoG4yo4x651vXknJsHUaC5fNn47N4MEcAxK0tMW264XgeMo gfMJXx1PZHUZvVbVsKYRgtBKr+RnGWBUo8pFnp1YyO/WdvL1XKl2SlStBOgjW44I1jan owYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838094; x=1698442894; 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=icOvJbOJsTDdP+66R4uRBps9bpq6ofm0IVLkWhoTkTA=; b=laVty/68Lz9bkY6Le/9QjZXkIVqrQVjVxtcOB7SnNJTm/S5cNaNM6IntIAPZqXl6SH 7CWFCfqgwVqNphMxEv6HykEVeQlSo0sNsAQLa6Pd+QlkcFqbMoLN2KH7cPR7CfVvRwhN O7moCDlCqZzlA/aQ5r1e2sL9LxtgM8is4ZSa0GNnokrb7ePErgFWA8k39Ng+p41ZQgBI nujPcIgpN3VnZq01nEIWK6s8n6I1eb2A0jCn2kYwUH9e/YqTYO0git1LRMH6MiXfXWCR 6fRxHECbsi18lKWbdqTFjcmUiKhWk1yneprW8onwIE+C8aFrWG9YFJEDljka5L2mngXB y5Xw== X-Gm-Message-State: AOJu0YxwtowEeOl8T15MH8wMaxpyL0HyTX/+Z7bqLyQWjsUwYGZCDn6I 5WLc6tBDLIhA+kTw2lsZkAGdcr3Dods0HlRoV5rbrw== X-Google-Smtp-Source: AGHT+IG3Ucn8psY4av5i/PpLFORbalxPyEKiiCyx+Kq1HRatQ3gQKi15wvT2UdrZD3WoI6Vxz1KNwQ== X-Received: by 2002:aa7:88d0:0:b0:68e:41e9:10be with SMTP id k16-20020aa788d0000000b0068e41e910bemr2799860pff.20.1697838094301; Fri, 20 Oct 2023 14:41:34 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , =?utf-8?q?Mattias_R?= =?utf-8?q?=C3=B6nnblom?= Subject: [PATCH v2 04/14] eal: make rte_drand a stable API Date: Fri, 20 Oct 2023 14:41:09 -0700 Message-Id: <20231020214119.255491-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 2020. Signed-off-by: Stephen Hemminger Acked-by: Mattias Rönnblom --- lib/eal/include/rte_random.h | 4 ---- lib/eal/version.map | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/eal/include/rte_random.h b/lib/eal/include/rte_random.h index c12eb07ea818..ea74ca020044 100644 --- a/lib/eal/include/rte_random.h +++ b/lib/eal/include/rte_random.h @@ -70,9 +70,6 @@ uint64_t rte_rand_max(uint64_t upper_bound); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Generates a pseudo-random floating point number. * * This function returns a non-negative double-precision floating random @@ -87,7 +84,6 @@ rte_rand_max(uint64_t upper_bound); * @return * A pseudo-random value between 0 and 1.0. */ -__rte_experimental double rte_drand(void); #ifdef __cplusplus diff --git a/lib/eal/version.map b/lib/eal/version.map index 5fd7ceec94fb..edeb7ff518e2 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -57,6 +57,7 @@ DPDK_24 { rte_devargs_parsef; rte_devargs_remove; rte_devargs_type_count; + rte_drand; rte_driver_name; rte_dump_physmem_layout; rte_dump_stack; @@ -395,9 +396,6 @@ EXPERIMENTAL { rte_intr_type_get; rte_intr_type_set; - # added in 22.07 - rte_drand; - # added in 23.03 rte_lcore_register_usage_cb; __rte_eal_trace_generic_blob; From patchwork Fri Oct 20 21:41:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133109 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4F953431BE; Fri, 20 Oct 2023 23:42:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 435B34161A; Fri, 20 Oct 2023 23:41:41 +0200 (CEST) Received: from mail-oo1-f46.google.com (mail-oo1-f46.google.com [209.85.161.46]) by mails.dpdk.org (Postfix) with ESMTP id 3DCB040A7A for ; Fri, 20 Oct 2023 23:41:36 +0200 (CEST) Received: by mail-oo1-f46.google.com with SMTP id 006d021491bc7-5842a94feb2so397663eaf.0 for ; Fri, 20 Oct 2023 14:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838095; x=1698442895; 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=TvWrNxaJAt6WBGXlioacc6ALgzCVw8JZLGvOqKb97Pg=; b=ESOjz4v9gE2dov/Dkte7J8BkwHgK5tNEuGU/JeqnHdWhE1qTfAla/ws0Rl2O1hs3Bf cBc5L2bSetTD45evewxlxt4mME9I1z7xp5BwEcgLyal0AbGxMn0Z+eFt6CYGnPrARdOG f3mJop/EeyEwh2Hfbi/EFMgnpduWATwYkGWf/KIUXxJ0fc7V9IrNUJGICerabdaGXZhs +9Y7c45SoBYFeTpOHRoy0IyBE3spLo3jOMJM/09t87lGn1VB0mUWLDfC7RCGidfWrgpp x/+DZzIIzeyNgvK81zre43ID9dqPyhTxTb0S96yDeDTC8AZz5HznuGYSPMo7WMBPDbdq jDoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838095; x=1698442895; 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=TvWrNxaJAt6WBGXlioacc6ALgzCVw8JZLGvOqKb97Pg=; b=CJnMERiOkuoBGzMKSDmRgmtL3b4BYogk3ieDF1U7QCifIv1KLBX81odNx5YNexrcsl nGC1UDCtUABqs7wjqjLqEc1XYBBzJKRo81ogL7jJF9baAEmOgw8DMiTNjGVxXfhhS6EM lozUmApyE1q7o2qzFnwYRpiuYIU9c6xRX4Ke8jJvhXeq1vQKWxXvAO6Nc/HFYHSkZUnt y/Cx2Wf6qvw8saUq4JFbAWDjsWX0a/EZ5fA9/cusgwgFgGxYZgYRupVo82yqullrN1Oq Ty2/H+2+KEKlJ3PL2RGPlzncPucIRQKxfHj66SrfQbft7gSydXOHaSnyLGDxRUtItyco 0ZRA== X-Gm-Message-State: AOJu0YyoN0csDtpQdbiRHHmBYDdgN8tCAefLs6qMTckCQDErQPp1YRwU BvJXvYlKqoHkpzt+QKw0XrMbkDr9GZEdrCG2zQxd/A== X-Google-Smtp-Source: AGHT+IHVIjhm6bhT7Cb7bOMnXQWNUWCInnPa9zslaUUJjcwgTARTNjpfy1lFix8fYOBfsOPL7rJr2A== X-Received: by 2002:a05:6358:988a:b0:139:4783:5140 with SMTP id q10-20020a056358988a00b0013947835140mr3194374rwa.16.1697838095229; Fri, 20 Oct 2023 14:41:35 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:34 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Harry van Haaren Subject: [PATCH v2 05/14] eal: make rte_service_lcore_may_be_active stable Date: Fri, 20 Oct 2023 14:41:10 -0700 Message-Id: <20231020214119.255491-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 2020. Signed-off-by: Stephen Hemminger Acked-by: Harry van Haaren --- lib/eal/include/rte_service.h | 1 - lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/eal/include/rte_service.h b/lib/eal/include/rte_service.h index a77f33be488c..da5e246f7abf 100644 --- a/lib/eal/include/rte_service.h +++ b/lib/eal/include/rte_service.h @@ -275,7 +275,6 @@ int32_t rte_service_lcore_stop(uint32_t lcore_id); * @retval 1 Service thread is in the service core polling loop. * @retval -EINVAL Invalid *lcore_id* provided. */ -__rte_experimental int32_t rte_service_lcore_may_be_active(uint32_t lcore_id); /** diff --git a/lib/eal/version.map b/lib/eal/version.map index edeb7ff518e2..89feb98fea7c 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -249,6 +249,7 @@ DPDK_24 { rte_service_lcore_count_services; rte_service_lcore_del; rte_service_lcore_list; + rte_service_lcore_may_be_active; rte_service_lcore_reset_all; rte_service_lcore_start; rte_service_lcore_stop; @@ -366,7 +367,6 @@ EXPERIMENTAL { # added in 20.11 __rte_eal_trace_generic_size_t; # WINDOWS_NO_EXPORT rte_cpu_get_intrinsics_support; # WINDOWS_NO_EXPORT - rte_service_lcore_may_be_active; rte_vect_get_max_simd_bitwidth; rte_vect_set_max_simd_bitwidth; From patchwork Fri Oct 20 21:41:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133110 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C7478431BE; Fri, 20 Oct 2023 23:42:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F09342830; Fri, 20 Oct 2023 23:41:42 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 2D46740A7A for ; Fri, 20 Oct 2023 23:41:37 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6b36e1fcea0so1125530b3a.1 for ; Fri, 20 Oct 2023 14:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838096; x=1698442896; 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=vHTayhBDNF3Iiz524t0lc+LK9pk6vCUvIH2R4oJDg58=; b=hQ9fgArLXqfWIZHcGD+Kw+0h4HFc66StvyyBqZCVDIw2xPSNQix7XHB8ntHWJNCVKI nin70duW3YW1rG6X9Wd1vOwWyiPefssEhV9fMFS5DZwxABJwO6emTlvJJHgDs9/RHwV7 4DJndTFg40Mg6tsPrWhIguZhTT2RrX3YmC1/ar4o0xW18Kavansgor+Nob8TMJZI/Ycd JOV19ld1Zm8RiCOeBnBpkgCB8Msmz+fyrAsSeVcYce35rBWU6D7OFzCt88NkWwim94RH sTTwW62qvPodrWL+WWCYaxrR2UJQ6FiMUhM4BY65+7QozT6xJGm+vb3K0cnobt5XyJyB afkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838096; x=1698442896; 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=vHTayhBDNF3Iiz524t0lc+LK9pk6vCUvIH2R4oJDg58=; b=uuAoOrhEUyRn36I4zvBYRjMCXmJ9ro0UDwYNuD1TGWwhsDzftSQsRkcmQ+eJqsrh3C zXFUFUrHIAANOOvQafGyOlFH1I72yXqikZaXn7N3KHl6pwIvcpeNVUmkmIPvEoL9tIri Vib3R7F0eQgSuwzgMWatUoBf60R+a8XEkmaO8aZMSjDEvc4qyts88ZjRSRi/bv8TPo2p 5fwLGqXcbuxCD5H7ANQPtjn+pwRv1pkCfwIE5fQ0f7na3XgkTLTulVtIFfyhlm00ZJb+ O+0KEULV5wQuS1sORW5TwGzPLOefl4/w1Y2SRqzu3RAPwffPZ6TgbewxNeh/0ByqUF1F Tjvw== X-Gm-Message-State: AOJu0Yx07dZIoP9doQePeatHK2OHNFnfZZRVMgY5EP7wvV3Seg5nVhmz LncndjLFmeKUrH2jsx0nC6CacwvGrvNBNEPMT72X4Q== X-Google-Smtp-Source: AGHT+IEbWFVC/UAikzB21zBnlmmBHF7ZvUiuiz4RhAG2LTcyq2vq8XyCdO48cSQ8pTOPFLG8AuCUzQ== X-Received: by 2002:a05:6a20:320b:b0:157:877a:5f5e with SMTP id hl11-20020a056a20320b00b00157877a5f5emr2730398pzc.61.1697838096189; Fri, 20 Oct 2023 14:41:36 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:35 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 06/14] eal: make rte_devargs_reset stable Date: Fri, 20 Oct 2023 14:41:11 -0700 Message-Id: <20231020214119.255491-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 Was added in 20.05 release. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_devargs.h | 1 - lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/eal/include/rte_devargs.h b/lib/eal/include/rte_devargs.h index 91267981b1de..add8032e73cb 100644 --- a/lib/eal/include/rte_devargs.h +++ b/lib/eal/include/rte_devargs.h @@ -168,7 +168,6 @@ __rte_format_printf(2, 0); * @param da * The devargs structure holding the device information. */ -__rte_experimental void rte_devargs_reset(struct rte_devargs *da); diff --git a/lib/eal/version.map b/lib/eal/version.map index 89feb98fea7c..d7f6ea24581e 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -56,6 +56,7 @@ DPDK_24 { rte_devargs_parse; rte_devargs_parsef; rte_devargs_remove; + rte_devargs_reset; rte_devargs_type_count; rte_drand; rte_driver_name; @@ -376,7 +377,6 @@ EXPERIMENTAL { rte_power_pause; # WINDOWS_NO_EXPORT # added in 21.05 - rte_devargs_reset; rte_intr_callback_unregister_sync; rte_version_minor; rte_version_month; From patchwork Fri Oct 20 21:41:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133111 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B20A0431BE; Fri, 20 Oct 2023 23:42:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C328D427DD; Fri, 20 Oct 2023 23:41:43 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 24C3140E09 for ; Fri, 20 Oct 2023 23:41:38 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6ba54c3ed97so1218013b3a.2 for ; Fri, 20 Oct 2023 14:41:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838097; x=1698442897; 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=EEvBbNeSJXi/ZFLYl0GxXMp/0mv33TuBONxgMsKsjOQ=; b=A/hBZt+Kiq4Uno05+NAgWGtW5ny4rq3jz4IxAc4GlLM+qF7zIkAR2Zve3gPACFUtss Gm9ccTdKFpOLYE+BlorO225Zz2bzS0IRFdAzA7dRzwd3b3UC+bTQcHhEohNCUpK3aIWs 0pSfRRzjUkJECy0NtNENpxj4r6Dos7eZharYxd3NQ3rPVUS/Tvtrj4783wZTy9ikZUo5 AK4phv2Fk4RYGFQF+ZnT7EnpPuQ2nvD0Y8F0Z46DuB1dB/hN9ZpVplzJ4gfFHZ0BS4p1 RhRO7bzh0H8w/k6TKqeKvzeF0jz1b0HJ24Uu3yYqxW7txGawuayPpgzuzGdVqI8AtS/D QtBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838097; x=1698442897; 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=EEvBbNeSJXi/ZFLYl0GxXMp/0mv33TuBONxgMsKsjOQ=; b=U5My7ezHlacOZ3Dh6W3aBqPQgtsrUkNtXArNdfloYmQacZqasfSKbDEzyhNzuFJyQb e6zO2rNwlQ3nGOnTIpCxr7cIU46kdRFV4ANBxEObwFqIBdgV3j3DQUFHB3ABFHyGmTnZ aGKMQQGyTEDtqJkbxJ9Gl+hyKIUcq5M3mMWj5ohUlAkioslvBUbNew82DacS4R/2zNoI hYDpzT2F2/+hISY2E7bmz6zmPrW48PDrE4x3sNqT9Uf6dzAppx4vHE/GLE53NeNcWshK +1ZM/mcjPM+PBqoZzVVOYSWT2h/XC8TbzUYwoxVmL9iCOJ13tIaZ2MCE+YJO37d/8zrt yViQ== X-Gm-Message-State: AOJu0YykTzrvnjIERA01fPaEZpkQa71RcH+g11K68vpUI8tGVssV812l tgSv2qkJi8Xhjew0zCYufZxbqEKPRKOPbBYxGcQY/Q== X-Google-Smtp-Source: AGHT+IEmmRqY9kwy1NmOaCfGPThs+mhRUw+7b6e3g8jvVAoUX+lkuuF9H2n25ZFhLaqvCqKJtkXkzA== X-Received: by 2002:a05:6a21:4843:b0:158:7fdf:66df with SMTP id au3-20020a056a21484300b001587fdf66dfmr2873657pzc.18.1697838097035; Fri, 20 Oct 2023 14:41:37 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:36 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 07/14] eal: make pflock API stable Date: Fri, 20 Oct 2023 14:41:12 -0700 Message-Id: <20231020214119.255491-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 Added in 21.11 release. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_pflock.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/lib/eal/include/rte_pflock.h b/lib/eal/include/rte_pflock.h index 553504bb6dd9..9aaf56f715cc 100644 --- a/lib/eal/include/rte_pflock.h +++ b/lib/eal/include/rte_pflock.h @@ -80,15 +80,11 @@ typedef struct rte_pflock rte_pflock_t; #define RTE_PFLOCK_INITIALIZER { } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Initialize the pflock to an unlocked state. * * @param pf * A pointer to the pflock. */ -__rte_experimental static inline void rte_pflock_init(struct rte_pflock *pf) { @@ -99,15 +95,11 @@ rte_pflock_init(struct rte_pflock *pf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Take a pflock for read. * * @param pf * A pointer to a pflock structure. */ -__rte_experimental static inline void rte_pflock_read_lock(rte_pflock_t *pf) { @@ -127,15 +119,11 @@ rte_pflock_read_lock(rte_pflock_t *pf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Release a pflock locked for reading. * * @param pf * A pointer to the pflock structure. */ -__rte_experimental static inline void rte_pflock_read_unlock(rte_pflock_t *pf) { @@ -143,15 +131,11 @@ rte_pflock_read_unlock(rte_pflock_t *pf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Take the pflock for write. * * @param pf * A pointer to the pflock structure. */ -__rte_experimental static inline void rte_pflock_write_lock(rte_pflock_t *pf) { @@ -181,15 +165,11 @@ rte_pflock_write_lock(rte_pflock_t *pf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Release a pflock held for writing. * * @param pf * A pointer to a pflock structure. */ -__rte_experimental static inline void rte_pflock_write_unlock(rte_pflock_t *pf) { From patchwork Fri Oct 20 21:41:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133112 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 395C9431BE; Fri, 20 Oct 2023 23:42:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C35A42D7D; Fri, 20 Oct 2023 23:41:45 +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 13B6540EF0 for ; Fri, 20 Oct 2023 23:41:39 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6be0277c05bso1136368b3a.0 for ; Fri, 20 Oct 2023 14:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838098; x=1698442898; 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=XChDISV/dXS65avk97hsI2n1WXEiMyYioiE/QjgOQzc=; b=taaELtamsUzjPBo9k/pQKeqycdsh5dpLeg/thoxSDKnDrFR1ebvgBE9iSQ+5bROUsh mj6pCc8vOvDxh73JzHOP7OfzeSPUpI/JPM7LLs6SlNLMSDFsmhOozNfIR/RiDvOhFO4a oQPk0nK/OIyduJ/lDL0jJCnk9sxsjs0r9KctPEiSXLGAubtksmlDGfULw0AYl70gaY5B Ls8ljcjHTPEoNmfStR/u2ORizIe67740SZEycYwVvvRcFTFa5szGVWov2lmJZ36kdS3u RzJ0yf40+4TEtosmpNORfoMj8/QZ3YI4GCTngUWgybkcH8mlyYXSUjlpqVbC7dmAhJr4 wVcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838098; x=1698442898; 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=XChDISV/dXS65avk97hsI2n1WXEiMyYioiE/QjgOQzc=; b=lgOLArt5tC5zjWs4IR6i/UYPLQxER3Xlu0+cp3EB6UBgQLLMnARzc6Pcvki44BKet1 kQiwUjCJVRpy1QVQjroU+lfcMhtUNT0omWZcCj7rt5hc1pB3pcvCwYlRp7oVzeyeCK01 P1lpYl3XLvhrgWU6PioDRdcGn1b9z4ljEf7XgBVgFwEAtZCmbou3QxRhlhvOlNOfeh/+ 2SW2ip5G4dW+tExcCDG9irJSBV+dmEdjfhRHF8gXEQD/AnYTE8X46ewtGZd8Nt58zApq 7Hzt2F2cdFwOEO9yR79kDDS/WZC/r27pblI9QbpsOH8rOP4QkVXvb2M7uMRQ4bfrBzrX RWrg== X-Gm-Message-State: AOJu0YzwJ7jsJrv+2OSaoBOyCMsqatK6kXeMB0+7eB5ptEYXCN1SSr/Z Y+Ixfs3T6iSALVjU48V5knbHkbMZznNLu6xR1hI45Q== X-Google-Smtp-Source: AGHT+IGwaKdtSHhl5Dpx4y5fiaMtxHBIEMe8Cpo+gPycl8H2PStnuZL3fMNYLca7XRX5UdDaIMMfOg== X-Received: by 2002:a05:6a21:a5a3:b0:16b:f3b1:c040 with SMTP id gd35-20020a056a21a5a300b0016bf3b1c040mr3952658pzc.38.1697838098000; Fri, 20 Oct 2023 14:41:38 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:37 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , =?utf-8?q?Mattias_R?= =?utf-8?q?=C3=B6nnblom?= Subject: [PATCH v2 08/14] eal: make seqcount and seqlock stable Date: Fri, 20 Oct 2023 14:41:13 -0700 Message-Id: <20231020214119.255491-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 were add back in 22.07 release. Signed-off-by: Stephen Hemminger Acked-by: Mattias Rönnblom Acked-by: Mattias Rönnblom --- lib/eal/include/rte_seqcount.h | 23 ----------------------- lib/eal/include/rte_seqlock.h | 21 --------------------- 2 files changed, 44 deletions(-) diff --git a/lib/eal/include/rte_seqcount.h b/lib/eal/include/rte_seqcount.h index 4f9cefb33862..ff8985310377 100644 --- a/lib/eal/include/rte_seqcount.h +++ b/lib/eal/include/rte_seqcount.h @@ -41,15 +41,11 @@ typedef struct { #define RTE_SEQCOUNT_INITIALIZER { .sn = 0 } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Initialize the sequence counter. * * @param seqcount * A pointer to the sequence counter. */ -__rte_experimental static inline void rte_seqcount_init(rte_seqcount_t *seqcount) { @@ -57,9 +53,6 @@ rte_seqcount_init(rte_seqcount_t *seqcount) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Begin a read-side critical section. * * A call to this function marks the beginning of a read-side critical @@ -101,8 +94,6 @@ rte_seqcount_init(rte_seqcount_t *seqcount) * * @see rte_seqcount_read_retry() */ - -__rte_experimental static inline uint32_t rte_seqcount_read_begin(const rte_seqcount_t *seqcount) { @@ -114,9 +105,6 @@ rte_seqcount_read_begin(const rte_seqcount_t *seqcount) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * End a read-side critical section. * * A call to this function marks the end of a read-side critical @@ -146,8 +134,6 @@ rte_seqcount_read_begin(const rte_seqcount_t *seqcount) * * @see rte_seqcount_read_begin() */ - -__rte_experimental static inline bool rte_seqcount_read_retry(const rte_seqcount_t *seqcount, uint32_t begin_sn) { @@ -172,9 +158,6 @@ rte_seqcount_read_retry(const rte_seqcount_t *seqcount, uint32_t begin_sn) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Begin a write-side critical section. * * A call to this function marks the beginning of a write-side @@ -196,8 +179,6 @@ rte_seqcount_read_retry(const rte_seqcount_t *seqcount, uint32_t begin_sn) * * @see rte_seqcount_write_end() */ - -__rte_experimental static inline void rte_seqcount_write_begin(rte_seqcount_t *seqcount) { @@ -214,9 +195,6 @@ rte_seqcount_write_begin(rte_seqcount_t *seqcount) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * End a write-side critical section. * * A call to this function marks the end of the write-side critical @@ -228,7 +206,6 @@ rte_seqcount_write_begin(rte_seqcount_t *seqcount) * * @see rte_seqcount_write_begin() */ -__rte_experimental static inline void rte_seqcount_write_end(rte_seqcount_t *seqcount) { diff --git a/lib/eal/include/rte_seqlock.h b/lib/eal/include/rte_seqlock.h index fcbb9c586668..589c98188529 100644 --- a/lib/eal/include/rte_seqlock.h +++ b/lib/eal/include/rte_seqlock.h @@ -114,9 +114,6 @@ typedef struct { } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Initialize the seqlock. * * This function initializes the seqlock, and leaves the writer-side @@ -125,7 +122,6 @@ typedef struct { * @param seqlock * A pointer to the seqlock. */ -__rte_experimental static inline void rte_seqlock_init(rte_seqlock_t *seqlock) { @@ -134,9 +130,6 @@ rte_seqlock_init(rte_seqlock_t *seqlock) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Begin a read-side critical section. * * See rte_seqcount_read_retry() for details. @@ -150,8 +143,6 @@ rte_seqlock_init(rte_seqlock_t *seqlock) * @see rte_seqlock_read_retry() * @see rte_seqcount_read_retry() */ - -__rte_experimental static inline uint32_t rte_seqlock_read_begin(const rte_seqlock_t *seqlock) { @@ -159,9 +150,6 @@ rte_seqlock_read_begin(const rte_seqlock_t *seqlock) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * End a read-side critical section. * * See rte_seqcount_read_retry() for details. @@ -177,7 +165,6 @@ rte_seqlock_read_begin(const rte_seqlock_t *seqlock) * * @see rte_seqlock_read_begin() */ -__rte_experimental static inline bool rte_seqlock_read_retry(const rte_seqlock_t *seqlock, uint32_t begin_sn) { @@ -185,9 +172,6 @@ rte_seqlock_read_retry(const rte_seqlock_t *seqlock, uint32_t begin_sn) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Begin a write-side critical section. * * A call to this function acquires the write lock associated @p @@ -212,7 +196,6 @@ rte_seqlock_read_retry(const rte_seqlock_t *seqlock, uint32_t begin_sn) * * @see rte_seqlock_write_unlock() */ -__rte_experimental static inline void rte_seqlock_write_lock(rte_seqlock_t *seqlock) __rte_exclusive_lock_function(&seqlock->lock) @@ -224,9 +207,6 @@ rte_seqlock_write_lock(rte_seqlock_t *seqlock) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * End a write-side critical section. * * A call to this function marks the end of the write-side critical @@ -238,7 +218,6 @@ rte_seqlock_write_lock(rte_seqlock_t *seqlock) * * @see rte_seqlock_write_lock() */ -__rte_experimental static inline void rte_seqlock_write_unlock(rte_seqlock_t *seqlock) __rte_unlock_function(&seqlock->lock) From patchwork Fri Oct 20 21:41:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133113 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5B692431BE; Fri, 20 Oct 2023 23:42:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 44B4742DC0; Fri, 20 Oct 2023 23:41:46 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id DDB9E40EF0 for ; Fri, 20 Oct 2023 23:41:39 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6ba54c3ed97so1218035b3a.2 for ; Fri, 20 Oct 2023 14:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838099; x=1698442899; 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=2nkb2pR5W3yjSfAegkfIOcJ95iGoY0bDElF9kWKoLuk=; b=OJook0Yo5E4TRqDSpY1JkpL+OZ+U06K+TktxEpyKaBs4Xp5R5G9+5uTPRhZ+ld65s9 kyFGLeSdExUVgpUvrrPGBRM0FwgQ0YWQXdDYugY2LMQnWcZSG07Zlld/aO4qHmxmISKq KexRCgGZwHe2xDUPYLKDjfbGhbzd6f71nlgKI8zubl5nNXvLAJYpdqXlY6Z/4qQutkbU LPZrNGqQB3csU4Mg4Wniq09QitPxEcXrrh0u3y9mxGffoCQJqsiEvMxnf21e7isUSTcR n32GPPTANXbOlWNnh0WKSQua5j+CNk49Iz/ETkJPQQkpGuV9kQKZZ3tH3V8q3+Bo8C4i KfPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838099; x=1698442899; 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=2nkb2pR5W3yjSfAegkfIOcJ95iGoY0bDElF9kWKoLuk=; b=cIOH79N5afnCzbSe5oR1dUNUrGx0hJOZFvif1QblhMVSUudo9se9hnuytDyZJ9IT7F RryTTKgHQNRKu8ykYHkyCPvIOtSNWMv1jnV5l+EiAIkP9aBQ+u/XkZ2wEqtSLeaHqvH4 OIzG9b8bKRo9rCb0qCXElH7T/G3vagxmQ6mMal3viPkQf1WxUKSUEoKQZC4dLZQlWi4B jl58GXhz0rBHLZbE10y+jh0wovNmAPpWijxbPnVj8/89dFkbhPS71wWQJYsoix/CwoVW HxPRMxj3SM1k+BBz1QXr/cu3jH27LeoHKDFYFDxyRn68gcvtX1l3Vl4jhw3xBksgkUZS d1/w== X-Gm-Message-State: AOJu0Yy6FSzJfFbjuOMCwwbJpM3mCjD0SWZpk8ohPN4Bt0rgLsKjcu+M RzYvR1OTiLk+a0+TFl+lLkEEVY6ferWkgBwTibdI8w== X-Google-Smtp-Source: AGHT+IFAkdMwFZf4OlLY5XXmuGMwwtIukFDJcSs+niZbbiFD3VdBeuMowo/nkFYFiuRPCNezcgY9EA== X-Received: by 2002:a05:6a00:1796:b0:6bd:d884:df00 with SMTP id s22-20020a056a00179600b006bdd884df00mr3598960pfg.9.1697838098889; Fri, 20 Oct 2023 14:41:38 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:38 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Harman Kalra Subject: [PATCH v2 09/14] eal: mark rte_intr_XXX API's as stable Date: Fri, 20 Oct 2023 14:41:14 -0700 Message-Id: <20231020214119.255491-10-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 were added back in 2020. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_interrupts.h | 28 ---------------------------- lib/eal/version.map | 14 +++++++------- 2 files changed, 7 insertions(+), 35 deletions(-) diff --git a/lib/eal/include/rte_interrupts.h b/lib/eal/include/rte_interrupts.h index bcafdd58a912..1b9a0b2a78f3 100644 --- a/lib/eal/include/rte_interrupts.h +++ b/lib/eal/include/rte_interrupts.h @@ -127,9 +127,6 @@ rte_intr_callback_unregister_pending(const struct rte_intr_handle *intr_handle, rte_intr_unregister_callback_fn ucb_fn); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Loop until rte_intr_callback_unregister() succeeds. * After a call to this function, * the callback provided by the specified interrupt handle is unregistered. @@ -146,7 +143,6 @@ rte_intr_callback_unregister_pending(const struct rte_intr_handle *intr_handle, * - On success, return the number of callback entities removed. * - On failure, a negative value. */ -__rte_experimental int rte_intr_callback_unregister_sync(const struct rte_intr_handle *intr_handle, rte_intr_callback_fn cb, void *cb_arg); @@ -201,9 +197,6 @@ int rte_intr_ack(const struct rte_intr_handle *intr_handle); int rte_thread_is_intr(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * It allocates memory for interrupt instance. API takes flag as an argument * which define from where memory should be allocated i.e. using DPDK memory * management library APIs or normal heap allocation. @@ -221,28 +214,20 @@ int rte_thread_is_intr(void); * - On success, address of interrupt handle. * - On failure, NULL. */ -__rte_experimental struct rte_intr_handle * rte_intr_instance_alloc(uint32_t flags); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Free the memory allocated for interrupt handle resources. * * @param intr_handle * Interrupt handle allocated with rte_intr_instance_alloc(). * If intr_handle is NULL, no operation is performed. */ -__rte_experimental void rte_intr_instance_free(struct rte_intr_handle *intr_handle); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Set the fd field of interrupt handle with user provided * file descriptor. * @@ -255,14 +240,10 @@ rte_intr_instance_free(struct rte_intr_handle *intr_handle); * - On success, zero. * - On failure, a negative value and rte_errno is set. */ -__rte_experimental int rte_intr_fd_set(struct rte_intr_handle *intr_handle, int fd); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Returns the fd field of the given interrupt handle instance. * * @param intr_handle @@ -272,14 +253,10 @@ rte_intr_fd_set(struct rte_intr_handle *intr_handle, int fd); * - On success, fd field. * - On failure, a negative value. */ -__rte_experimental int rte_intr_fd_get(const struct rte_intr_handle *intr_handle); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Set the type field of interrupt handle with user provided * interrupt type. * @@ -292,15 +269,11 @@ rte_intr_fd_get(const struct rte_intr_handle *intr_handle); * - On success, zero. * - On failure, a negative value and rte_errno is set. */ -__rte_experimental int rte_intr_type_set(struct rte_intr_handle *intr_handle, enum rte_intr_handle_type type); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Returns the type field of the given interrupt handle instance. * * @param intr_handle @@ -310,7 +283,6 @@ rte_intr_type_set(struct rte_intr_handle *intr_handle, * - On success, interrupt type * - On failure, RTE_INTR_HANDLE_UNKNOWN. */ -__rte_experimental enum rte_intr_handle_type rte_intr_type_get(const struct rte_intr_handle *intr_handle); diff --git a/lib/eal/version.map b/lib/eal/version.map index d7f6ea24581e..0dbd8b0573dd 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -137,8 +137,15 @@ DPDK_24 { rte_intr_callback_register; rte_intr_callback_unregister; rte_intr_callback_unregister_pending; + rte_intr_callback_unregister_sync; rte_intr_disable; rte_intr_enable; + rte_intr_fd_get; + rte_intr_fd_set; + rte_intr_instance_alloc; + rte_intr_instance_free; + rte_intr_type_get; + rte_intr_type_set; rte_keepalive_create; # WINDOWS_NO_EXPORT rte_keepalive_dispatch_pings; # WINDOWS_NO_EXPORT rte_keepalive_mark_alive; # WINDOWS_NO_EXPORT @@ -377,7 +384,6 @@ EXPERIMENTAL { rte_power_pause; # WINDOWS_NO_EXPORT # added in 21.05 - rte_intr_callback_unregister_sync; rte_version_minor; rte_version_month; rte_version_prefix; @@ -389,12 +395,6 @@ EXPERIMENTAL { rte_power_monitor_multi; # WINDOWS_NO_EXPORT # added in 21.11 - rte_intr_fd_get; - rte_intr_fd_set; - rte_intr_instance_alloc; - rte_intr_instance_free; - rte_intr_type_get; - rte_intr_type_set; # added in 23.03 rte_lcore_register_usage_cb; From patchwork Fri Oct 20 21:41:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133114 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2BCB2431BE; Fri, 20 Oct 2023 23:42:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5469D42E01; Fri, 20 Oct 2023 23:41:48 +0200 (CEST) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 9351240A8B for ; Fri, 20 Oct 2023 23:41:41 +0200 (CEST) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6bf03b98b9bso1533273b3a.1 for ; Fri, 20 Oct 2023 14:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838100; x=1698442900; 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=Q483/P2DcKB7lAlwaig4VkrK+VGO2uAoxrKnTXVYENM=; b=gAppGmNfZPRflxV6zRsdZAV8fNULWamzlT3w6AUzDNzSmbPWl/yrnBeZRDcYTqAQx8 dLKs2uE4dASRWEobOIrSsnqXHNtO3wznv1NyHHhyaQCAGp5bV2JHMmoLHEIa1lsd0/kp m9scJ+AnVF86pRkSsk3u/ANQD03c6KOQSMfBnqlF9eEsKTBZFHaXTsmgv3EXrZfGEVxW ND2cSYBDHmWBZUBqk3M1KpITqVi7VxfsW1TWiIt8K15MKbPQo3DVORGzVL3sZyCnryfF yXjIiqxVpaJyU0+DxQ0Ohqs9GHaeg53rJICMTIPMnBPfhni3ptodBMIbL2IPnyvgLHms hhXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838100; x=1698442900; 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=Q483/P2DcKB7lAlwaig4VkrK+VGO2uAoxrKnTXVYENM=; b=QDFSg2oBXrtnshlIuzLAumNdex8nuTggVhVLdCnFis9XgZ/dIQ6rwLx8KBpuGsOkk+ jcm0IWLcevk6WqA3hZFa+UGGnULw0UpVksK73yn/PAE98njJ7rl6nOJe6drO/wDutu3J 58WHNe1c/rbQKFG3ZiKTGfQCXvfF8v9g6Ui5pCvvE2FmmTCeON7yks6m7WkRzl9b7KMX 70CuYg4SqIsiZNKGaSOuBWvL+E93++taIq9WSIeXdMD/QIhKa/tt5FfHhT+mQxIU6cYg ci1Numf6rsESW5DsT5FZnmVAZOkgEe0iPPeCBX284+VjRax4CoLzAcO4ztZxqYWwNXu9 k1ZA== X-Gm-Message-State: AOJu0YyIw3WSE7reDCxgaPLtUN0TQL5sRye4ti26U/diTvEeUpaSPU6j ZEMivR4OJ0sDWHyfEcE8LzvJUOe0R/y273HiEQkABg== X-Google-Smtp-Source: AGHT+IHP2VREqWKoNISYVRKCEUGCYEaPyL5edzGcaHHQAFgA0vIDa7/Ju8+IXZ0IBhzjDWltptiI0g== X-Received: by 2002:a05:6a20:8f05:b0:161:aef5:6395 with SMTP id b5-20020a056a208f0500b00161aef56395mr4200154pzk.24.1697838100508; Fri, 20 Oct 2023 14:41:40 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ruifeng Wang , Bruce Richardson , Konstantin Ananyev Subject: [PATCH v2 10/14] eal: mark rte_atomic128_cmp_exchange as stable Date: Fri, 20 Oct 2023 14:41:15 -0700 Message-Id: <20231020214119.255491-11-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 has been around since 2021. Signed-off-by: Stephen Hemminger Acked-by: Ruifeng Wang --- lib/eal/arm/include/rte_atomic_64.h | 1 - lib/eal/include/generic/rte_atomic.h | 1 - lib/eal/x86/include/rte_atomic_64.h | 1 - 3 files changed, 3 deletions(-) diff --git a/lib/eal/arm/include/rte_atomic_64.h b/lib/eal/arm/include/rte_atomic_64.h index 75d8ba6092cc..96205e6ad372 100644 --- a/lib/eal/arm/include/rte_atomic_64.h +++ b/lib/eal/arm/include/rte_atomic_64.h @@ -94,7 +94,6 @@ __ATOMIC128_CAS_OP(__cas_128_acq_rel, "caspal") #endif -__rte_experimental static inline int rte_atomic128_cmp_exchange(rte_int128_t *dst, rte_int128_t *exp, const rte_int128_t *src, unsigned int weak, int success, diff --git a/lib/eal/include/generic/rte_atomic.h b/lib/eal/include/generic/rte_atomic.h index db6797e379f3..048b547ea62b 100644 --- a/lib/eal/include/generic/rte_atomic.h +++ b/lib/eal/include/generic/rte_atomic.h @@ -1147,7 +1147,6 @@ typedef struct { * @return * Non-zero on success; 0 on failure. */ -__rte_experimental static inline int rte_atomic128_cmp_exchange(rte_int128_t *dst, rte_int128_t *exp, diff --git a/lib/eal/x86/include/rte_atomic_64.h b/lib/eal/x86/include/rte_atomic_64.h index 0edee8627224..e968bbf0ce65 100644 --- a/lib/eal/x86/include/rte_atomic_64.h +++ b/lib/eal/x86/include/rte_atomic_64.h @@ -182,7 +182,6 @@ static inline void rte_atomic64_clear(rte_atomic64_t *v) /*------------------------ 128 bit atomic operations -------------------------*/ -__rte_experimental static inline int rte_atomic128_cmp_exchange(rte_int128_t *dst, rte_int128_t *exp, From patchwork Fri Oct 20 21:41:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133115 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E03FE431BE; Fri, 20 Oct 2023 23:42:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 98D4742E16; Fri, 20 Oct 2023 23:41:49 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 83EE2427E4 for ; Fri, 20 Oct 2023 23:41:42 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6b77ab73c6fso1026720b3a.1 for ; Fri, 20 Oct 2023 14:41:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838101; x=1698442901; 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=f1Q49a5mYI0KVC99ifZ+45FtBz2av18ZQ7+jKyK2slg=; b=qPm9W+Z6fiOP1JDCKi+KT6TGUYcGY0Pz/i8+hil1rcQ4JBml8azrz2CbWeocvvasX0 O9DkzoKWRJREa97IxIqZ82ALcIoLazfHzk7b5jQ6oLOp6zsCgDuME4Z6I9SG1d7A/0Qe /3vIWFbeQMd4PYq8CNGH1ifU5O8KF6i4HztNTCglFwRErUADIrFEWmqT+ybDB0qVkvy0 wpxbWOMZXClslwig/VS6uyY9TvNosqsiqUryMqim/6jD35/cXk3Tgka5T9ifMlSVec21 6mVJCdhrgeKgoiGv8henzv2OwR+bj1qQKoS+lrY71CkWVu7T2SmSrsHW+IBf+IMqHYc8 7UVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838101; x=1698442901; 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=f1Q49a5mYI0KVC99ifZ+45FtBz2av18ZQ7+jKyK2slg=; b=LshvVQtKQl3LEu6h8m0oiIWoyFp32bNu+xUY33DOGyJQdF6P1I7+PHeWEWJV9QsXe7 QCraokliF2xRfvw6hotr4fQRTdptMupXbG+dMpsTZjT4PQ4/5WUm0nic8BgYIDNYBh2n tfBlq0tvQkI/bTS9SAv50BhChg2GYqIxSgKao2QIGHYiMYS4d06i0fh79NFOw7cC9aN/ Sz4KlL1fxXfcBTFyJ7s6KEI5EyHp70+PvuUAt6m3/fR04VtYftqYxHfYW5rcKU5W3Xqh tmzAnoOIorWuH2nwurx6QC9uc5Y549/78yOw06753kf/ejCXqTsmDASqRSFf5veAq/2P E9vA== X-Gm-Message-State: AOJu0YwZyhlJJiAT+t/nI1JM0xzuCswaDYlQ3gnN6RLbF6A8acinUhR3 D82SI2grNf5WDJzO0+VK/SDIc/K9zWa8Ac0qwRJctQ== X-Google-Smtp-Source: AGHT+IFHjBxoClZ0mqlFAru7bLhvPpInZVvqgs46QOxZOkOeQYkEZq06A7vtf6T/GGDTSB1c50wMQg== X-Received: by 2002:a05:6a00:1817:b0:68e:3616:604a with SMTP id y23-20020a056a00181700b0068e3616604amr4667889pfa.8.1697838101496; Fri, 20 Oct 2023 14:41:41 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 11/14] eal: mark rte_power API's stable Date: Fri, 20 Oct 2023 14:41:16 -0700 Message-Id: <20231020214119.255491-12-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 were added back in 2020. Signed-off-by: Stephen Hemminger --- lib/eal/include/generic/rte_power_intrinsics.h | 16 ---------------- lib/eal/version.map | 12 ++++-------- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/lib/eal/include/generic/rte_power_intrinsics.h b/lib/eal/include/generic/rte_power_intrinsics.h index f981df7d75a1..922c32c83fdb 100644 --- a/lib/eal/include/generic/rte_power_intrinsics.h +++ b/lib/eal/include/generic/rte_power_intrinsics.h @@ -54,9 +54,6 @@ struct rte_power_monitor_cond { }; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Monitor specific address for changes. This will cause the CPU to enter an * architecture-defined optimized power state until either the specified * memory address is written to, a certain TSC timestamp is reached, or other @@ -84,14 +81,10 @@ struct rte_power_monitor_cond { * -EINVAL on invalid parameters * -ENOTSUP if unsupported */ -__rte_experimental int rte_power_monitor(const struct rte_power_monitor_cond *pmc, const uint64_t tsc_timestamp); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Wake up a specific lcore that is in a power optimized state and is monitoring * an address. * @@ -104,13 +97,9 @@ int rte_power_monitor(const struct rte_power_monitor_cond *pmc, * @param lcore_id * Lcore ID of a sleeping thread. */ -__rte_experimental int rte_power_monitor_wakeup(const unsigned int lcore_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Enter an architecture-defined optimized power state until a certain TSC * timestamp is reached. * @@ -126,13 +115,9 @@ int rte_power_monitor_wakeup(const unsigned int lcore_id); * -EINVAL on invalid parameters * -ENOTSUP if unsupported */ -__rte_experimental int rte_power_pause(const uint64_t tsc_timestamp); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Monitor a set of addresses for changes. This will cause the CPU to enter an * architecture-defined optimized power state until either one of the specified * memory addresses is written to, a certain TSC timestamp is reached, or other @@ -160,7 +145,6 @@ int rte_power_pause(const uint64_t tsc_timestamp); * -EINVAL on invalid parameters * -ENOTSUP if unsupported */ -__rte_experimental int rte_power_monitor_multi(const struct rte_power_monitor_cond pmc[], const uint32_t num, const uint64_t tsc_timestamp); diff --git a/lib/eal/version.map b/lib/eal/version.map index 0dbd8b0573dd..3d4f6b5f79e6 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -233,6 +233,10 @@ DPDK_24 { rte_mp_request_async; rte_mp_request_sync; rte_mp_sendmsg; + rte_power_monitor; # WINDOWS_NO_EXPORT + rte_power_monitor_wakeup; # WINDOWS_NO_EXPORT + rte_power_pause; # WINDOWS_NO_EXPORT + rte_power_monitor_multi; # WINDOWS_NO_EXPORT rte_rand; rte_rand_max; rte_realloc; @@ -378,11 +382,6 @@ EXPERIMENTAL { rte_vect_get_max_simd_bitwidth; rte_vect_set_max_simd_bitwidth; - # added in 21.02 - rte_power_monitor; # WINDOWS_NO_EXPORT - rte_power_monitor_wakeup; # WINDOWS_NO_EXPORT - rte_power_pause; # WINDOWS_NO_EXPORT - # added in 21.05 rte_version_minor; rte_version_month; @@ -391,9 +390,6 @@ EXPERIMENTAL { rte_version_suffix; rte_version_year; - # added in 21.08 - rte_power_monitor_multi; # WINDOWS_NO_EXPORT - # added in 21.11 # added in 23.03 From patchwork Fri Oct 20 21:41:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133116 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37863431BE; Fri, 20 Oct 2023 23:43:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B861F42E1F; Fri, 20 Oct 2023 23:41:50 +0200 (CEST) Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) by mails.dpdk.org (Postfix) with ESMTP id 6092F427E4 for ; Fri, 20 Oct 2023 23:41:43 +0200 (CEST) Received: by mail-il1-f171.google.com with SMTP id e9e14a558f8ab-3574cde48b4so4251775ab.1 for ; Fri, 20 Oct 2023 14:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838102; x=1698442902; 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=YC+mhH5Do9QWNHkM3O57zznClrHIlIqzFhUq/I1ixuk=; b=1TaCVbqk9BYehBTfPjIVDAI59nUBBHIsMHePI4O1gcyOf0WBtxJhCVOpkovW25vMqc L/cExUT81gkrUmDrLlf2uF9ud4wgOoqdVHwSFmOkaJ4k+LSM3LYF7l/F3hWvemC+01/+ fU48ENWE09vcqpP31W7lpagz5BjOqpy78d8+/GZNqSnIJkf5cEouzqGSLfVs5y87b17I 3hEBCi/RELkaKzhL5r9i9A3+jwu4uXnlpst+3V6yPBQ9poq+56qSZDUOEE9iODFb1j17 XQZHYnvYyumlg+Oh4qE5nFAHnBni5C8cSu6XttLpJSWtRjPWFfbHbjTh7h4AbQwAZGkM Jv1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838102; x=1698442902; 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=YC+mhH5Do9QWNHkM3O57zznClrHIlIqzFhUq/I1ixuk=; b=ZMYIr4nwM0zo+dtmeeEb5M/+jFryN3JRxje8GhdDklTNDzF4Fl+0UO/ZxbN6SSuf7R eckM2921rgR93FqMfkper/R4Cr5QvbZHvhcbp3jr5G8OdD7ud/QLfjgqF0giylrl/iAi 24piw6aimYOom/S5nirT5gtbrqxJrJ90bu6s/ffUqAR5xVPwCanvsUB+HN+jYj2Tbcxi psv90co7tqOrQ2rFZ3PAWI9p7D2iCjOzbZ6UeUqe0d1HkiWOHuNwFK5/7faofY5AcbEy //GIdG18i7BFLepgrzo7S2aMQqmNSdjnL71pl/Wgbzhgof5bK0CfeAiEhHuKSH8DE48U mqTQ== X-Gm-Message-State: AOJu0Yytl2WPrVu+k5oHYJbhXB/Gm0Sw+fuCeQk9uLFazWKpPcZQlr7E 1Ebg/BklZcO9bdLS6KHoAFbp+7G5JTre3MEiMRlpQw== X-Google-Smtp-Source: AGHT+IFi7XGWZgp1DT+Zq0131fxjpoCKhoU9/ptrjqNvC5VeI1YmjhHBRbfE07YQOUhnf3QuVGwKiQ== X-Received: by 2002:a92:d443:0:b0:357:49f1:96a9 with SMTP id r3-20020a92d443000000b0035749f196a9mr2825332ilm.26.1697838102470; Fri, 20 Oct 2023 14:41:42 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:41 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 12/14] eal: mark rte_eal_vfio_get_token stable Date: Fri, 20 Oct 2023 14:41:17 -0700 Message-Id: <20231020214119.255491-13-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 20.08 release. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_eal.h | 4 ---- lib/eal/version.map | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/eal/include/rte_eal.h b/lib/eal/include/rte_eal.h index cd318ee14152..c2256f832e51 100644 --- a/lib/eal/include/rte_eal.h +++ b/lib/eal/include/rte_eal.h @@ -409,16 +409,12 @@ int rte_eal_create_uio_dev(void); enum rte_intr_mode rte_eal_vfio_intr_mode(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Copy the user-configured vfio VF token. * * @param vf_token * vfio VF token configured with the command line is copied * into this parameter, zero uuid by default. */ -__rte_experimental void rte_eal_vfio_get_vf_token(rte_uuid_t vf_token); /** diff --git a/lib/eal/version.map b/lib/eal/version.map index 3d4f6b5f79e6..529963b61b15 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -88,6 +88,7 @@ DPDK_24 { rte_eal_tailq_lookup; rte_eal_tailq_register; rte_eal_using_phys_addrs; + rte_eal_vfio_get_vf_token; # WINDOWS_NO_EXPORT rte_eal_vfio_intr_mode; # WINDOWS_NO_EXPORT rte_eal_wait_lcore; rte_epoll_ctl; @@ -373,9 +374,6 @@ EXPERIMENTAL { rte_trace_regexp; # WINDOWS_NO_EXPORT rte_trace_save; # WINDOWS_NO_EXPORT - # added in 20.08 - rte_eal_vfio_get_vf_token; # WINDOWS_NO_EXPORT - # added in 20.11 __rte_eal_trace_generic_size_t; # WINDOWS_NO_EXPORT rte_cpu_get_intrinsics_support; # WINDOWS_NO_EXPORT From patchwork Fri Oct 20 21:41:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133117 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7D5D6431BE; Fri, 20 Oct 2023 23:43:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E394842E1D; Fri, 20 Oct 2023 23:41:51 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 4C78A410F1 for ; Fri, 20 Oct 2023 23:41:44 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6bf03b98b9bso1533298b3a.1 for ; Fri, 20 Oct 2023 14:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838103; x=1698442903; 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=5lUXdRHKUSe6tliuxuCvWot+PEfg7bJq6kAlIssxFmo=; b=gH6bKtT0XR9YQ0MlLdFjF/j4FptmVWHL2GrzF0sqIgSMPkSnIv1j5YFyxHCK0GNjZY Pb9REq1PAOco/YjJH9rxF1nJbUllJAK4wi95Dqc5w6RFMFot0zX9LZLy/U19Uu/US+TV RZj90/sLc3kZo982IbMbi4+WpixtwmDYijdTZBtDHG167I4H5yspSdZUg92d33hKcpIx 3QJwK0YkRAQG7+svWcUf/cojbvYNoopKYCQQydMPbljlg5FctbOCg61wPz5r1/C6Itky B+l00xLXMSmO9kqKAPpFd5QmqTPf0oWzhm//dtA7Uiu85YkhGn8zFNIYliQXEvzegyJf GM2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838103; x=1698442903; 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=5lUXdRHKUSe6tliuxuCvWot+PEfg7bJq6kAlIssxFmo=; b=VJ5X3Pj6nRDlNL4pMAv+k8Ldg2PWdsHxfEXraYuFbR6BXXKxDBk0tZJZ0v39DoxfVp qfsRxN9COxlZY19vrINqWbfp+uJDHIMNevfBslha+MkpcYGZcrE4lxNepZbV/7DMptO6 YtiG9/ucIuOagaYn27T2jSmDnALKfclLlLyDC482ntpwK4Ba+EMGd9eCkoeacvEiAXrl jPcR2Wu1aPhrGUfIUvZeo+rCq7iBax7SOEWbpMXC9hjc39v0FNk35bQ+Ry3HcI//Zd+S yRdwCh4+8dJ+nqu+9VLuxWuCDMYepm5eiit9IGtHSjqKJGjaUQqlaN14aeCe0VTXQfq7 OXJA== X-Gm-Message-State: AOJu0YyLkO8XMZOApYCGYWeiLnttAxLaeeVCwJSStsCwOQK69kl3d2fz NZjf2QM6Yv3ErDhlf/KvZE7gP+rhLQeMLSCskGhhtg== X-Google-Smtp-Source: AGHT+IE2c3Dk7XsxJToVedcnu2Nofk0eBAGffiKEphlLnE3cwujEnTFMcsrNU+ZZZ5bk2vMSGbBgtw== X-Received: by 2002:a05:6a21:9981:b0:17a:f4b6:bf89 with SMTP id ve1-20020a056a21998100b0017af4b6bf89mr3802694pzb.31.1697838103289; Fri, 20 Oct 2023 14:41:43 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 13/14] eal: mark rte_vect simd bandwidth API as stable Date: Fri, 20 Oct 2023 14:41:18 -0700 Message-Id: <20231020214119.255491-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 were added back in 20.11. Signed-off-by: Stephen Hemminger --- lib/eal/include/generic/rte_vect.h | 8 -------- lib/eal/version.map | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/eal/include/generic/rte_vect.h b/lib/eal/include/generic/rte_vect.h index 777510cc3df4..2314eb9d374b 100644 --- a/lib/eal/include/generic/rte_vect.h +++ b/lib/eal/include/generic/rte_vect.h @@ -208,21 +208,14 @@ enum rte_vect_max_simd { }; /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Get the supported SIMD bitwidth. * * @return * uint16_t bitwidth. */ -__rte_experimental uint16_t rte_vect_get_max_simd_bitwidth(void); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Set the supported SIMD bitwidth. * This API should only be called once at initialization, before EAL init. * @@ -233,7 +226,6 @@ uint16_t rte_vect_get_max_simd_bitwidth(void); * - -EINVAL on invalid bitwidth parameter. * - -EPERM if bitwidth is forced. */ -__rte_experimental int rte_vect_set_max_simd_bitwidth(uint16_t bitwidth); #endif /* _RTE_VECT_H_ */ diff --git a/lib/eal/version.map b/lib/eal/version.map index 529963b61b15..756f446524c2 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -314,6 +314,8 @@ DPDK_24 { rte_uuid_is_null; rte_uuid_parse; rte_uuid_unparse; + rte_vect_get_max_simd_bitwidth; + rte_vect_set_max_simd_bitwidth; rte_version; rte_vfio_clear_group; # WINDOWS_NO_EXPORT rte_vfio_container_create; # WINDOWS_NO_EXPORT @@ -377,8 +379,6 @@ EXPERIMENTAL { # added in 20.11 __rte_eal_trace_generic_size_t; # WINDOWS_NO_EXPORT rte_cpu_get_intrinsics_support; # WINDOWS_NO_EXPORT - rte_vect_get_max_simd_bitwidth; - rte_vect_set_max_simd_bitwidth; # added in 21.05 rte_version_minor; From patchwork Fri Oct 20 21:41:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133118 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 09085431BE; Fri, 20 Oct 2023 23:43:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2459342E34; Fri, 20 Oct 2023 23:41:53 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 14D1742D76 for ; Fri, 20 Oct 2023 23:41:45 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6b1e46ca282so1251111b3a.2 for ; Fri, 20 Oct 2023 14:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838104; x=1698442904; 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=5NxIFGqdVKRAsvgDR3sdeJ4ZtxPUFRm7ohSVLK4NjRY=; b=JL7b7ykmsr9ebqWEM06DCixF+yl5OplEiIRDmykFf82hUTF5ATovG6XQwD58fskl68 hSt0IC6oa1oE+4BrtAak1/RtZ4D+dFlwtH9H1RUnpR4TVWKQDnrIFYxwFt8BigXCOI15 fBg3qzb5IF97Tq78QH4GcbjvwSufMkQBWwgAX9mpuG25F9jduc4YiNNj0i2gSa+EK0ta +Gyg3ZKidV9h1voiSOih/R6grYnjfnEdMF3ckc1I3VW3vjRH6qpnBpi5OY+OAGeXn4eX s4IQ6Sd9jhkz46pg8qkg1z1W5IZmVDmU6bC3HwfkTFWCKtTw8lmKOFN2zaegNEzr7DHc kdvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838104; x=1698442904; 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=5NxIFGqdVKRAsvgDR3sdeJ4ZtxPUFRm7ohSVLK4NjRY=; b=lk1xvwzc2df1hna4MuLqXpDfFvf+s0HfGZsmRu/4APCqnrw6ZMehKYrBanJW5hD2iK Am/K6QybLKMQZyg3wOqGy+HyPyKrFmden3yNzAua0SwsRdIIIqm2XYOmRXDS3QeWa2xc L/sl1ivqDFwcgtBRudyrI5iHbnXsrGBUpuNuMr4tY/8wDsoH0p7wnJDnZj8JbMmgNxgC MdVzSWlqObyYUj0OvKz5lXJwNnlbi2ZLiPTvqw8rcnutuwz+FMuNnwjEmkdy4Vyz+ecn gdlyJIsFSvgrb5EE2y2bmRUUt2p7qgcdAYG4J1agDpIl+6n+dRiqo0Tr8PUT/qnll9DI HQsw== X-Gm-Message-State: AOJu0Yx7rQeyJdSO791lqG8uMnPhArtZEfMy1MZkNaoxjiqLCJldRkXs co3V4vfkbU7x0HZ51MhYMcsnq1wUDPX+h3TiYzguDA== X-Google-Smtp-Source: AGHT+IE+50X9MLRocUW06PMlgj5+G0GTMmCQN1mJhkvld/aP3rldrsbqda7qX7A6ssZWtmv+evIBeQ== X-Received: by 2002:a62:f251:0:b0:692:b429:390 with SMTP id y17-20020a62f251000000b00692b4290390mr2802860pfl.29.1697838104076; Fri, 20 Oct 2023 14:41:44 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:43 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 14/14] eal: make rte_version API's stable Date: Fri, 20 Oct 2023 14:41:19 -0700 Message-Id: <20231020214119.255491-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 have been around since 2020 releases. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_version.h | 6 ------ lib/eal/version.map | 16 ++++++---------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/lib/eal/include/rte_version.h b/lib/eal/include/rte_version.h index 414b6167f286..121d75bdbe28 100644 --- a/lib/eal/include/rte_version.h +++ b/lib/eal/include/rte_version.h @@ -35,37 +35,31 @@ extern "C" { /** * Function to return DPDK version prefix string */ -__rte_experimental const char *rte_version_prefix(void); /** * Function to return DPDK version year */ -__rte_experimental unsigned int rte_version_year(void); /** * Function to return DPDK version month */ -__rte_experimental unsigned int rte_version_month(void); /** * Function to return DPDK minor version number */ -__rte_experimental unsigned int rte_version_minor(void); /** * Function to return DPDK version suffix for any release candidates */ -__rte_experimental const char *rte_version_suffix(void); /** * Function to return DPDK version release candidate value */ -__rte_experimental unsigned int rte_version_release(void); /** diff --git a/lib/eal/version.map b/lib/eal/version.map index 756f446524c2..a68986eb2773 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -317,6 +317,12 @@ DPDK_24 { rte_vect_get_max_simd_bitwidth; rte_vect_set_max_simd_bitwidth; rte_version; + rte_version_minor; + rte_version_month; + rte_version_prefix; + rte_version_release; + rte_version_suffix; + rte_version_year; rte_vfio_clear_group; # WINDOWS_NO_EXPORT rte_vfio_container_create; # WINDOWS_NO_EXPORT rte_vfio_container_destroy; # WINDOWS_NO_EXPORT @@ -380,16 +386,6 @@ EXPERIMENTAL { __rte_eal_trace_generic_size_t; # WINDOWS_NO_EXPORT rte_cpu_get_intrinsics_support; # WINDOWS_NO_EXPORT - # added in 21.05 - rte_version_minor; - rte_version_month; - rte_version_prefix; - rte_version_release; - rte_version_suffix; - rte_version_year; - - # added in 21.11 - # added in 23.03 rte_lcore_register_usage_cb; __rte_eal_trace_generic_blob;