[dpdk-dev,v6,7/7] eventdev: add tests for eth Rx adapter APIs

Message ID 1507674097-19597-8-git-send-email-nikhil.rao@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Jerin Jacob
Headers

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/Intel-compilation fail apply patch file failure

Commit Message

Rao, Nikhil Oct. 10, 2017, 10:21 p.m. UTC
  Add unit tests for rte_event_eth_rx_adapter_xxx() APIs

Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
---
 MAINTAINERS        | 1 +
 test/test/Makefile | 1 +
 2 files changed, 2 insertions(+)
  

Comments

Jerin Jacob Oct. 10, 2017, 2:05 p.m. UTC | #1
-----Original Message-----
> Date: Wed, 11 Oct 2017 03:51:37 +0530
> From: Nikhil Rao <nikhil.rao@intel.com>
> To: jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com
> CC: dev@dpdk.org
> Subject: [PATCH v6 7/7] eventdev: add tests for eth Rx adapter APIs
> X-Mailer: git-send-email 2.7.4
> 
> Add unit tests for rte_event_eth_rx_adapter_xxx() APIs
> 
> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> ---
>  MAINTAINERS        | 1 +
>  test/test/Makefile | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index edcdcc2b8..5b257b375 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -274,6 +274,7 @@ Event Ethdev Rx Adapter API - EXPERIMENTAL
>  M: Nikhil Rao <nikhil.rao@intel.com>
>  T: git://dpdk.org/next/dpdk-next-eventdev
>  F: lib/librte_eventdev/*eth_rx_adapter*
> +F: test/test/test_event_eth_rx_adapter.c
>  
>  Networking Drivers
>  ------------------
> diff --git a/test/test/Makefile b/test/test/Makefile
> index 42d9a49e2..011288219 100644
> --- a/test/test/Makefile
> +++ b/test/test/Makefile
> @@ -204,6 +204,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev.c
>  ifeq ($(CONFIG_RTE_LIBRTE_EVENTDEV),y)
>  SRCS-y += test_eventdev.c
>  SRCS-y += test_event_ring.c
> +SRCS-y += test_event_eth_rx_adapter.c

Missed this file to include. Can you send version now? Planning to add
this in RC1.

>  SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += test_eventdev_sw.c
>  SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF) += test_eventdev_octeontx.c
>  endif
> -- 
> 2.14.1.145.gb3622a4
>
  

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index edcdcc2b8..5b257b375 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -274,6 +274,7 @@  Event Ethdev Rx Adapter API - EXPERIMENTAL
 M: Nikhil Rao <nikhil.rao@intel.com>
 T: git://dpdk.org/next/dpdk-next-eventdev
 F: lib/librte_eventdev/*eth_rx_adapter*
+F: test/test/test_event_eth_rx_adapter.c
 
 Networking Drivers
 ------------------
diff --git a/test/test/Makefile b/test/test/Makefile
index 42d9a49e2..011288219 100644
--- a/test/test/Makefile
+++ b/test/test/Makefile
@@ -204,6 +204,7 @@  SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev.c
 ifeq ($(CONFIG_RTE_LIBRTE_EVENTDEV),y)
 SRCS-y += test_eventdev.c
 SRCS-y += test_event_ring.c
+SRCS-y += test_event_eth_rx_adapter.c
 SRCS-$(CONFIG_RTE_LIBRTE_PMD_SW_EVENTDEV) += test_eventdev_sw.c
 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF) += test_eventdev_octeontx.c
 endif