[dpdk-dev] [PATCH v3 05/11] event/octeontx: update octeontx eventdev selftest ops

Jerin Jacob jerin.jacob at caviumnetworks.com
Mon Jan 8 11:09:07 CET 2018


-----Original Message-----
> Date: Tue, 26 Dec 2017 00:47:32 +0530
> From: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> To: jerin.jacob at caviumnetworks.com, harry.van.haaren at intel.com,
>  gage.eads at intel.com, liang.j.ma at intel.com
> Cc: dev at dpdk.org, Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> Subject: [dpdk-dev] [PATCH v3 05/11] event/octeontx: update octeontx
>  eventdev selftest ops
> X-Mailer: git-send-email 2.14.1
> 
> Update octeontx eventdev ops to invoke selftest when application
> invokes `rte_event_dev_selftest`.
> 
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> ---
>  drivers/event/octeontx/Makefile      | 3 ++-
>  drivers/event/octeontx/ssovf_evdev.c | 2 ++
>  drivers/event/octeontx/ssovf_evdev.h | 4 ++++
>  3 files changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/event/octeontx/Makefile b/drivers/event/octeontx/Makefile
> index fdf1b7385..1ad638574 100644
> --- a/drivers/event/octeontx/Makefile
> +++ b/drivers/event/octeontx/Makefile
> @@ -42,7 +42,7 @@ CFLAGS += -I$(RTE_SDK)/drivers/mempool/octeontx/
>  CFLAGS += -I$(RTE_SDK)/drivers/net/octeontx/
>  
>  LDLIBS += -lrte_eal -lrte_eventdev -lrte_mempool_octeontx
> -LDLIBS += -lrte_bus_pci
> +LDLIBS += -lrte_bus_pci -lrte_mempool -lrte_mbuf
>  LDLIBS += -lrte_bus_vdev
>  
>  EXPORT_MAP := rte_pmd_octeontx_ssovf_version.map
> @@ -54,6 +54,7 @@ LIBABIVER := 1
>  #
>  SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF) += ssovf_worker.c
>  SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF) += ssovf_evdev.c
> +SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF) += octeontx_evdev_selftest.c

Every other file in this directory starts with ssovf_*. IMO, better to
change to ssovf_evdev_selftest.c

With above change:
Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>


More information about the dev mailing list