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 7B110A00BE; Wed, 16 Feb 2022 20:39:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D00C3411EE; Wed, 16 Feb 2022 20:39:25 +0100 (CET) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id 36ED4411E1 for ; Wed, 16 Feb 2022 20:39:24 +0100 (CET) Received: by mail-pg1-f172.google.com with SMTP id 139so3035472pge.1 for ; Wed, 16 Feb 2022 11:39:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PurdHGkHvVoHPJgpQYP4v1qCOgWLLOvks55qrTbvvWs=; b=a0qgjFau4Kx9bD8fTWxdi9iRkUCZLEJNhDYOqOPbxYkqLsgKrIwcMN4TVeyOeCeI2T asvBgZC8T5SDLbS3JJBBGUX3bCF1x5C3+3c5GC2vk/+HWpO7OievyvghOQF6eEiYIESX D0WHNy7XmaGBpBXgaZSrx4Nr+Rg7u424aNVmiTQGIakgnTRKfAkWqKqVf2r6CBXfgnUE 9Rey+SoznWfLnFuU/ODSug59szfN2KYLoThGt6SsqtWqG2kZYrVlRT/2OlnrJK9pdrNM BUobjPmXqjjMNYWSXNvaYLs8qotDBvpZX19mNwToF2pJRwLUkUzCBmEpSYUOJde1U3Wh 0o0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PurdHGkHvVoHPJgpQYP4v1qCOgWLLOvks55qrTbvvWs=; b=yLEjMPya1gchVNXEzQlMfRTE3EQFgCeXGIOJt1mu6ltRtg7aae+SpcNFeaPRo5JjnI v7/zCoY6a/3L70bOkR1ixlgcFcK8nqjfo61GzeIYh1f9B65Ge4wwj23HiB3fcY8pJMBC 3Vv19Na6OA9nub77Ia1f1d5nHf1Re7THjD1Ku3j+cJu/ZeamrqvVBLr1g+p5Vai6ssJB Jpub2LDzJfQ6PoLPS+xbzg2FtjYt18p8APzsa04o/JmH1Esw+4ROxg03SJAfsRY7UZSe J9SWVKddFTOsDckhJSOEpnR1MLtPTvjIqmp7lq1Xi9H+/oH32peLBn7M/fm4/3hM7gO8 CFMg== X-Gm-Message-State: AOAM531PU0EOZZmp+SDKLqueHiPfHZqoy4O8JdB46m9rkvIN48gwYugl 07GtmkPqcLe4p9Y5R425LM2N6CG2o5Qt6ulT X-Google-Smtp-Source: ABdhPJxw50AwtbIDurkLI9Z+v3SrzSnFOb+uAyfDPKs7OJlq19zo/nbpGmqrZQi+05LPt+i0RNnpZA== X-Received: by 2002:a05:6a00:2cd:b0:4e1:1989:5b7f with SMTP id b13-20020a056a0002cd00b004e119895b7fmr480371pft.3.1645040363116; Wed, 16 Feb 2022 11:39:23 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id e8sm27935311pfv.168.2022.02.16.11.39.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 11:39:22 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Harman Kalra , Ray Kinsella Subject: [PATCH 3/4] eal: make some intr functions not experimental Date: Wed, 16 Feb 2022 11:39:16 -0800 Message-Id: <20220216193917.251657-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220216193917.251657-1-stephen@networkplumber.org> References: <20220216193917.251657-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These are functions related to interrupts that have been in since 20.02 release or earlier. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_interrupts.h | 12 +----------- lib/eal/version.map | 10 +++------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/lib/eal/include/rte_interrupts.h b/lib/eal/include/rte_interrupts.h index edbf0faeeffd..a378c0a0aa91 100644 --- a/lib/eal/include/rte_interrupts.h +++ b/lib/eal/include/rte_interrupts.h @@ -121,7 +121,6 @@ int rte_intr_callback_unregister(const struct rte_intr_handle *intr_handle, * - On success, return the number of callback entities marked for remove. * - On failure, a negative value. */ -__rte_experimental int rte_intr_callback_unregister_pending(const struct rte_intr_handle *intr_handle, rte_intr_callback_fn cb_fn, void *cb_arg, @@ -177,9 +176,6 @@ int rte_intr_enable(const struct rte_intr_handle *intr_handle); int rte_intr_disable(const struct rte_intr_handle *intr_handle); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * It acknowledges an interrupt raised for the specified handle. * * This function should be called at the end of each interrupt handler either @@ -193,22 +189,16 @@ int rte_intr_disable(const struct rte_intr_handle *intr_handle); * - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_intr_ack(const struct rte_intr_handle *intr_handle); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Check if currently executing in interrupt context * * @return * - non zero in case of interrupt context * - zero in case of process context */ -__rte_experimental -int -rte_thread_is_intr(void); +int rte_thread_is_intr(void); /** * @warning diff --git a/lib/eal/version.map b/lib/eal/version.map index 18d46acfeb1e..131a0eea1f28 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -109,8 +109,10 @@ DPDK_22 { rte_hexdump; rte_hypervisor_get; rte_hypervisor_get_name; # WINDOWS_NO_EXPORT + rte_intr_ack; rte_intr_callback_register; rte_intr_callback_unregister; + rte_intr_callback_unregister_pending; rte_intr_disable; rte_intr_enable; rte_keepalive_create; # WINDOWS_NO_EXPORT @@ -263,6 +265,7 @@ DPDK_22 { rte_strsplit; rte_sys_gettid; rte_thread_get_affinity; + rte_thread_is_intr; rte_thread_register; rte_thread_set_affinity; rte_thread_setname; @@ -320,13 +323,6 @@ EXPERIMENTAL { # added in 19.05 rte_dev_dma_map; rte_dev_dma_unmap; - rte_intr_callback_unregister_pending; - - # added in 19.08 - rte_intr_ack; - - # added in 20.02 - rte_thread_is_intr; # added in 20.05 __rte_eal_trace_alarm_cancel; -- 2.34.1