From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8D97D7CC4 for ; Thu, 29 Mar 2018 23:28:18 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Mar 2018 14:28:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,378,1517904000"; d="scan'208";a="46432248" Received: from txasoft-yocto.an.intel.com (HELO txasoft-yocto.an.intel.com.) ([10.123.72.192]) by orsmga002.jf.intel.com with ESMTP; 29 Mar 2018 14:28:17 -0700 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: Thu, 29 Mar 2018 16:27:29 -0500 Message-Id: <1522358852-3630-7-git-send-email-erik.g.carrillo@intel.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1522358852-3630-1-git-send-email-erik.g.carrillo@intel.com> References: <1520546046-6973-1-git-send-email-erik.g.carrillo@intel.com> <1522358852-3630-1-git-send-email-erik.g.carrillo@intel.com> Subject: [dpdk-dev] [PATCH v8 6/9] eventtimer: add support for meson build system 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 Mar 2018 21:28:19 -0000 Signed-off-by: Erik Gabriel Carrillo --- config/rte_config.h | 1 + lib/librte_eventdev/meson.build | 9 ++++++--- lib/meson.build | 3 ++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/config/rte_config.h b/config/rte_config.h index 72c0aa2..117c19f 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -55,6 +55,7 @@ /* eventdev defines */ #define RTE_EVENT_MAX_DEVS 16 #define RTE_EVENT_MAX_QUEUES_PER_DEV 64 +#define RTE_EVENT_TIMER_ADAPTER_NUM_MAX 32 /* ip_fragmentation defines */ #define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4 diff --git a/lib/librte_eventdev/meson.build b/lib/librte_eventdev/meson.build index e1e22a5..232b870 100644 --- a/lib/librte_eventdev/meson.build +++ b/lib/librte_eventdev/meson.build @@ -5,11 +5,14 @@ version = 3 allow_experimental_apis = true sources = files('rte_eventdev.c', 'rte_event_ring.c', - 'rte_event_eth_rx_adapter.c') + 'rte_event_eth_rx_adapter.c', + 'rte_event_timer_adapter.c') headers = files('rte_eventdev.h', 'rte_eventdev_pmd.h', 'rte_eventdev_pmd_pci.h', 'rte_eventdev_pmd_vdev.h', 'rte_event_ring.h', - 'rte_event_eth_rx_adapter.h') -deps += ['ring', 'ethdev', 'hash'] + 'rte_event_eth_rx_adapter.h', + 'rte_event_timer_adapter.h', + 'rte_event_timer_adapter_pmd.h') +deps += ['ring', 'ethdev', 'hash', 'mempool', 'timer'] diff --git a/lib/meson.build b/lib/meson.build index ef61591..b1ad35f 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -13,13 +13,14 @@ libraries = [ 'compat', # just a header, used for versioning 'metrics', # bitrate/latency stats depends on this 'hash', # efd depends on this 'kvargs', # cryptodev depends on this + 'timer', # eventdev depends on this 'acl', 'bbdev', 'bitratestats', 'cfgfile', 'cmdline', 'cryptodev', 'distributor', 'efd', 'eventdev', 'gro', 'gso', 'ip_frag', 'jobstats', 'kni', 'latencystats', 'lpm', 'member', 'meter', 'power', 'pdump', - 'reorder', 'sched', 'security', 'timer', 'vhost', + 'reorder', 'sched', 'security', 'vhost', # add pkt framework libs which use other libs from above 'port', 'table', 'pipeline', # flow_classify lib depends on pkt framework table lib -- 2.6.4