2018-05-03 07:30:11 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2016 6WIND S.A.
|
2014-05-16 08:18:58 +00:00
|
|
|
|
|
|
|
ifeq ($(RTE_SDK),)
|
|
|
|
$(error "Please define RTE_SDK environment variable")
|
|
|
|
endif
|
|
|
|
|
2019-03-27 13:58:05 +00:00
|
|
|
# Default target, detect a build directory, by looking for a path with a .config
|
|
|
|
RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config)))))
|
2014-05-16 08:18:58 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
2018-01-11 19:23:22 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += bbdev_app
|
2015-02-20 16:09:21 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += bond
|
2014-05-16 08:18:58 +00:00
|
|
|
DIRS-y += cmdline
|
2019-04-01 16:14:41 +00:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_POWER),y)
|
2014-11-25 16:18:05 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += distributor
|
2019-04-01 16:14:41 +00:00
|
|
|
endif
|
2015-12-07 13:48:59 +00:00
|
|
|
DIRS-y += ethtool
|
2017-01-24 09:06:14 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_EFD) += server_node_efd
|
2018-11-05 17:37:21 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += fips_validation
|
2017-10-24 17:28:01 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += flow_classify
|
2017-11-01 09:42:37 +00:00
|
|
|
DIRS-y += flow_filtering
|
2014-05-16 08:18:58 +00:00
|
|
|
DIRS-y += helloworld
|
2019-10-07 11:08:04 +00:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV),y)
|
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV) += ioat
|
|
|
|
endif
|
2016-02-05 14:43:56 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += ip_pipeline
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_LPM),y)
|
|
|
|
DIRS-$(CONFIG_RTE_IP_FRAG) += ip_reassembly
|
2015-02-18 11:03:03 +00:00
|
|
|
DIRS-$(CONFIG_RTE_IP_FRAG) += ip_fragmentation
|
2016-02-05 14:43:56 +00:00
|
|
|
endif
|
2017-10-26 14:15:13 +00:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_ACL)$(CONFIG_RTE_LIBRTE_HASH)$(CONFIG_RTE_LIBRTE_LPM)$(CONFIG_RTE_LIBRTE_SECURITY),yyyy)
|
2016-03-11 15:32:30 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += ipsec-secgw
|
|
|
|
endif
|
2016-07-06 14:33:01 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_HASH) += ipv4_multicast
|
2014-05-16 08:18:58 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_KNI) += kni
|
|
|
|
DIRS-y += l2fwd
|
2019-10-30 16:26:42 +00:00
|
|
|
DIRS-y += l2fwd-event
|
2016-03-14 13:46:59 +00:00
|
|
|
ifneq ($(PQOS_INSTALL_PATH),)
|
|
|
|
DIRS-y += l2fwd-cat
|
|
|
|
endif
|
2016-03-11 15:32:30 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += l2fwd-crypto
|
2015-02-24 16:33:24 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_JOBSTATS) += l2fwd-jobstats
|
2015-11-18 14:05:16 +00:00
|
|
|
DIRS-y += l2fwd-keepalive
|
2016-06-15 15:25:51 +00:00
|
|
|
DIRS-y += l2fwd-keepalive/ka-agent
|
2016-07-06 14:33:01 +00:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_HASH),y)
|
2016-02-05 14:43:56 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_LPM) += l3fwd
|
2016-07-06 14:33:01 +00:00
|
|
|
endif
|
2014-06-13 11:26:53 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_ACL) += l3fwd-acl
|
2016-07-06 14:33:01 +00:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_LPM)$(CONFIG_RTE_LIBRTE_HASH),yy)
|
2014-07-02 22:07:15 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_POWER) += l3fwd-power
|
2016-02-05 14:43:56 +00:00
|
|
|
endif
|
2014-05-16 08:18:58 +00:00
|
|
|
DIRS-y += link_status_interrupt
|
|
|
|
DIRS-y += multi_process
|
2019-07-02 06:25:21 +00:00
|
|
|
DIRS-y += ntb
|
2015-02-18 14:58:15 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_REORDER) += packet_ordering
|
2017-03-29 16:38:53 +00:00
|
|
|
ifeq ($(CONFIG_RTE_ARCH_X86_64),y)
|
|
|
|
DIRS-y += performance-thread
|
|
|
|
endif
|
2015-11-13 16:09:13 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_IEEE1588) += ptpclient
|
2014-05-16 08:18:58 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_METER) += qos_meter
|
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += qos_sched
|
2015-02-23 18:30:10 +00:00
|
|
|
DIRS-$(CONFIG_RTE_ETHDEV_RXTX_CALLBACKS) += rxtx_callbacks
|
2017-10-19 10:31:11 +00:00
|
|
|
DIRS-y += service_cores
|
2014-11-14 14:31:50 +00:00
|
|
|
DIRS-y += skeleton
|
2016-07-06 14:33:01 +00:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_HASH),y)
|
2015-06-25 08:56:09 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += tep_termination
|
2016-07-06 14:33:01 +00:00
|
|
|
endif
|
2015-05-18 08:18:01 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_TIMER) += timer
|
2019-11-04 16:36:26 +00:00
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost vdpa vhost_blk
|
2018-04-05 16:01:36 +00:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y)
|
|
|
|
DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_crypto
|
|
|
|
endif
|
2014-05-16 08:18:58 +00:00
|
|
|
DIRS-y += vmdq
|
|
|
|
DIRS-y += vmdq_dcb
|
2016-04-11 08:50:31 +00:00
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_POWER), y)
|
|
|
|
ifeq ($(shell pkg-config --atleast-version=0.9.3 libvirt; echo $$?), 0)
|
|
|
|
DIRS-y += vm_power_manager
|
|
|
|
else
|
|
|
|
$(info vm_power_manager requires libvirt >= 0.9.3)
|
|
|
|
endif
|
|
|
|
endif
|
2015-12-10 12:24:58 +00:00
|
|
|
|
2018-01-10 11:10:12 +00:00
|
|
|
DIRS-y += eventdev_pipeline
|
examples/eventdev_pipeline_sw_pmd: add sample app
This commit adds a sample app for the eventdev library.
The app has been tested with DPDK 17.05-rc2, hence this
release (or later) is recommended.
The sample app showcases a pipeline processing use-case,
with event scheduling and processing defined per stage.
The application receives traffic as normal, with each
packet traversing the pipeline. Once the packet has
been processed by each of the pipeline stages, it is
transmitted again.
The app provides a framework to utilize cores for a single
role or multiple roles. Examples of roles are the RX core,
TX core, Scheduling core (in the case of the event/sw PMD),
and worker cores.
Various flags are available to configure numbers of stages,
cycles of work at each stage, type of scheduling, number of
worker cores, queue depths etc. For a full explaination,
please refer to the documentation.
Signed-off-by: Gage Eads <gage.eads@intel.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2017-07-06 14:35:14 +00:00
|
|
|
|
2014-05-16 08:18:58 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.extsubdir.mk
|