From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH v7 3/7] eventtimer: add default software driver Date: Mon, 12 Mar 2018 14:15:46 +0530 Message-ID: <20180312084539.GC7119@jerin> References: <1515630074-29020-1-git-send-email-erik.g.carrillo@intel.com> <1520546046-6973-1-git-send-email-erik.g.carrillo@intel.com> <1520546046-6973-4-git-send-email-erik.g.carrillo@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: pbhagavatula@caviumnetworks.com, dev@dpdk.org, nipun.gupta@nxp.com, hemant.agrawal@nxp.com To: Erik Gabriel Carrillo Return-path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02hn0206.outbound.protection.outlook.com [104.47.37.206]) by dpdk.org (Postfix) with ESMTP id 58CCD23C for ; Mon, 12 Mar 2018 09:46:06 +0100 (CET) Content-Disposition: inline In-Reply-To: <1520546046-6973-4-git-send-email-erik.g.carrillo@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Thu, 8 Mar 2018 15:54:02 -0600 > From: Erik Gabriel Carrillo > To: pbhagavatula@caviumnetworks.com > CC: dev@dpdk.org, jerin.jacob@caviumnetworks.com, nipun.gupta@nxp.com, > hemant.agrawal@nxp.com > Subject: [PATCH v7 3/7] eventtimer: add default software driver > X-Mailer: git-send-email 1.7.10 > > If an eventdev PMD does not wish to provide event timer adapter ops > definitions, the library will fall back to a default software > implementation whose entry points are added by this commit. > > Signed-off-by: Erik Gabriel Carrillo > --- > lib/Makefile | 2 +- > lib/librte_eventdev/Makefile | 2 +- > lib/librte_eventdev/rte_event_timer_adapter.c | 874 ++++++++++++++++++++++++++ > lib/librte_eventdev/rte_event_timer_adapter.h | 55 ++ > mk/rte.app.mk | 2 +- > 5 files changed, 932 insertions(+), 3 deletions(-) > > diff --git a/lib/Makefile b/lib/Makefile > index ec965a6..965be6c 100644 > --- a/lib/Makefile > +++ b/lib/Makefile > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > index 3eb41d1..83660df 100644 > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -80,7 +80,6 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_BITRATE) += -lrte_bitratestats > _LDLIBS-$(CONFIG_RTE_LIBRTE_LATENCY_STATS) += -lrte_latencystats > _LDLIBS-$(CONFIG_RTE_LIBRTE_POWER) += -lrte_power > > -_LDLIBS-$(CONFIG_RTE_LIBRTE_TIMER) += -lrte_timer Any specific reason for this change, if yes, Please create a separate patch for the common code change, This will help to review > _LDLIBS-$(CONFIG_RTE_LIBRTE_EFD) += -lrte_efd > > _LDLIBS-y += --whole-archive > @@ -98,6 +97,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += -lrte_cryptodev > _LDLIBS-$(CONFIG_RTE_LIBRTE_SECURITY) += -lrte_security > _LDLIBS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += -lrte_eventdev > _LDLIBS-$(CONFIG_RTE_LIBRTE_RAWDEV) += -lrte_rawdev > +_LDLIBS-$(CONFIG_RTE_LIBRTE_TIMER) += -lrte_timer > _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += -lrte_mempool > _LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring > _LDLIBS-$(CONFIG_RTE_LIBRTE_RING) += -lrte_ring > -- > 2.6.4 >