From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id ED2D71B1DC for ; Thu, 11 Jan 2018 01:21:41 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jan 2018 16:21:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,342,1511856000"; d="scan'208";a="192627450" Received: from txasoft-yocto.an.intel.com (HELO txasoft-yocto.an.intel.com.) ([10.123.72.111]) by orsmga005.jf.intel.com with ESMTP; 10 Jan 2018 16:21:39 -0800 From: Erik Gabriel Carrillo To: pbhagavatula@caviumnetworks.com Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com, nipun.gupta@nxp.com, hemant.agrawal@nxp.com Date: Wed, 10 Jan 2018 18:21:01 -0600 Message-Id: <1515630074-29020-11-git-send-email-erik.g.carrillo@intel.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1515630074-29020-1-git-send-email-erik.g.carrillo@intel.com> References: <1512158458-22661-1-git-send-email-erik.g.carrillo@intel.com> <1515630074-29020-1-git-send-email-erik.g.carrillo@intel.com> Subject: [dpdk-dev] [PATCH v6 10/23] eventtimer: remove service id entry from info structure 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, 11 Jan 2018 00:21:42 -0000 Signed-off-by: Erik Gabriel Carrillo --- lib/librte_eventdev/rte_event_timer_adapter.c | 11 +---------- lib/librte_eventdev/rte_event_timer_adapter.h | 2 -- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/lib/librte_eventdev/rte_event_timer_adapter.c b/lib/librte_eventdev/rte_event_timer_adapter.c index 68748be..a4c8012 100644 --- a/lib/librte_eventdev/rte_event_timer_adapter.c +++ b/lib/librte_eventdev/rte_event_timer_adapter.c @@ -609,15 +609,6 @@ sw_event_timer_adapter_stop(const struct rte_event_timer_adapter *adapter) return rte_service_component_runstate_set(sw_data->service_id, 0); } -static void -sw_event_timer_adapter_get_info(const struct rte_event_timer_adapter *adapter, - struct rte_event_timer_adapter_info *adapter_info) -{ - struct rte_event_timer_adapter_sw_data *sw_data; - sw_data = adapter->data->adapter_priv; - adapter_info->service_id = sw_data->service_id; -} - static int sw_event_timer_arm_burst(const struct rte_event_timer_adapter *adapter, struct rte_event_timer **evtims, @@ -661,7 +652,7 @@ const struct rte_event_timer_adapter_ops sw_event_adapter_timer_ops = { .uninit = sw_event_timer_adapter_uninit, .start = sw_event_timer_adapter_start, .stop = sw_event_timer_adapter_stop, - .get_info = sw_event_timer_adapter_get_info, + .get_info = NULL, .arm_burst = sw_event_timer_arm_burst, .arm_tmo_tick_burst = sw_event_timer_arm_tmo_tick_burst, .cancel_burst = sw_event_timer_cancel_burst, diff --git a/lib/librte_eventdev/rte_event_timer_adapter.h b/lib/librte_eventdev/rte_event_timer_adapter.h index 84d3c39..8d29cfc 100644 --- a/lib/librte_eventdev/rte_event_timer_adapter.h +++ b/lib/librte_eventdev/rte_event_timer_adapter.h @@ -283,8 +283,6 @@ struct rte_event_timer_adapter_info { /**< Event timer adapter capabilities */ int16_t event_dev_port_id; /**< Event device port ID, if applicable */ - int32_t service_id; - /**< Service ID, if applicable */ }; /** -- 2.6.4