[dpdk-dev] [PATCH v3 3/4] eventdev: Add eventdev ethernet Rx adapter
Jerin Jacob
jerin.jacob at caviumnetworks.com
Tue Sep 12 06:17:43 CEST 2017
-----Original Message-----
> Date: Tue, 12 Sep 2017 17:59:28 +0530
> From: Nikhil Rao <nikhil.rao at intel.com>
> To: jerin.jacob at caviumnetworks.com, bruce.richardson at intel.com
> CC: gage.eads at intel.com, dev at dpdk.org, thomas at monjalon.net,
> harry.van.haaren at intel.com, hemant.agrawal at nxp.com, nipun.gupta at nxp.com,
> narender.vangati at intel.com, erik.g.carrillo at intel.com,
> abhinandan.gujjar at intel.com, Nikhil Rao <nikhil.rao at intel.com>
> Subject: [PATCH v3 3/4] eventdev: Add eventdev ethernet Rx adapter
> X-Mailer: git-send-email 2.7.4
>
> Add common APIs for configuring packet transfer from ethernet Rx
> queues to event devices across HW & SW packet transfer mechanisms.
> A detailed description of the adapter is contained in the header's
> comments.
>
> The adapter implementation uses eventdev PMDs to configure the packet
> transfer if HW support is available and if not, it uses an EAL service
> function that reads packets from ethernet Rx queues and injects these
> as events into the event device.
>
> Signed-off-by: Nikhil Rao <nikhil.rao at intel.com>
> Signed-off-by: Gage Eads <gage.eads at intel.com>
> Signed-off-by: Abhinandan Gujjar <abhinandan.gujjar at intel.com>
> ---
> lib/Makefile | 2 +-
> lib/librte_eventdev/Makefile | 2 ++
> lib/librte_eventdev/rte_eventdev_version.map | 11 ++++++++++-
> 3 files changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/lib/Makefile b/lib/Makefile
> index 86caba1..dbe9b3d 100644
> --- a/lib/Makefile
> +++ b/lib/Makefile
> @@ -52,7 +52,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += librte_cryptodev
> DEPDIRS-librte_cryptodev := librte_eal librte_mempool librte_ring librte_mbuf
> DEPDIRS-librte_cryptodev += librte_kvargs
> DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += librte_eventdev
> -DEPDIRS-librte_eventdev := librte_eal librte_ring
> +DEPDIRS-librte_eventdev := librte_eal librte_ring librte_hash librte_ether
> DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost
> DEPDIRS-librte_vhost := librte_eal librte_mempool librte_mbuf librte_ether
> DIRS-$(CONFIG_RTE_LIBRTE_HASH) += librte_hash
> diff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile
> index 410578a..c404d67 100644
> --- a/lib/librte_eventdev/Makefile
> +++ b/lib/librte_eventdev/Makefile
> @@ -43,6 +43,7 @@ CFLAGS += $(WERROR_FLAGS)
> # library source files
> SRCS-y += rte_eventdev.c
> SRCS-y += rte_event_ring.c
> +SRCS-y += rte_event_eth_rx_adapter.c
I think, you missed including this file in this patch series.
More information about the dev
mailing list