From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id C95F4201; Thu, 29 Nov 2018 20:45:14 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2018 11:45:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,295,1539673200"; d="scan'208";a="94196830" Received: from wcpqa1.an.intel.com ([10.123.72.207]) by orsmga007.jf.intel.com with ESMTP; 29 Nov 2018 11:45:13 -0800 From: Erik Gabriel Carrillo To: jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, stable@dpdk.org Date: Thu, 29 Nov 2018 13:45:26 -0600 Message-Id: <1543520726-10577-1-git-send-email-erik.g.carrillo@intel.com> X-Mailer: git-send-email 1.7.10 Subject: [dpdk-dev] [PATCH] eventdev: remove redundant timer adapter function prototypes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2018 19:45:15 -0000 Fixes: a6562f6d6f8e ("eventdev: introduce event timer adapter") Cc: stable@dpdk.org Signed-off-by: Erik Gabriel Carrillo --- lib/librte_eventdev/rte_event_timer_adapter.h | 57 +-------------------------- 1 file changed, 2 insertions(+), 55 deletions(-) diff --git a/lib/librte_eventdev/rte_event_timer_adapter.h b/lib/librte_eventdev/rte_event_timer_adapter.h index d4ea6f1..db98dec 100644 --- a/lib/librte_eventdev/rte_event_timer_adapter.h +++ b/lib/librte_eventdev/rte_event_timer_adapter.h @@ -461,61 +461,8 @@ rte_event_timer_adapter_stats_get(struct rte_event_timer_adapter *adapter, * - 0: Successfully reset; * - <0: Failure; error code returned. */ -int __rte_experimental rte_event_timer_adapter_stats_reset( - struct rte_event_timer_adapter *adapter); - -/** - * Retrieve the service ID of the event timer adapter. If the adapter doesn't - * use an rte_service function, this function returns -ESRCH. - * - * @param adapter - * A pointer to an event timer adapter. - * - * @param [out] service_id - * A pointer to a uint32_t, to be filled in with the service id. - * - * @return - * - 0: Success - * - <0: Error code on failure, if the event dev doesn't use a rte_service - * function, this function returns -ESRCH. - */ -int -rte_event_timer_adapter_service_id_get(struct rte_event_timer_adapter *adapter, - uint32_t *service_id); - -/** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * - * Retrieve statistics for an event timer adapter instance. - * - * @param adapter - * A pointer to an event timer adapter structure. - * @param[out] stats - * A pointer to a structure to fill with statistics. - * - * @return - * - 0: Successfully retrieved. - * - <0: Failure; error code returned. - */ -int rte_event_timer_adapter_stats_get(struct rte_event_timer_adapter *adapter, - struct rte_event_timer_adapter_stats *stats); - -/** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * - * Reset statistics for an event timer adapter instance. - * - * @param adapter - * A pointer to an event timer adapter structure. - * - * @return - * - 0: Successfully reset; - * - <0: Failure; error code returned. - */ -int rte_event_timer_adapter_stats_reset( - struct rte_event_timer_adapter *adapter); +int __rte_experimental +rte_event_timer_adapter_stats_reset(struct rte_event_timer_adapter *adapter); /** * @warning -- 2.6.4