Spdk/lib/env_dpdk
Daniel Verkamp 3c74ca51bc env_dpdk: use detected include file path
env.mk already detects the location of the include path (which may or
may not have 'dpdk' in the name depending on the DPDK version), so put
that into a DPDK_INC_DIR variable and use it in the libnuma check so we
find the correct rte_config.h location.

Also check if rte_config.h exists before trying to pass it to grep -
this prevents error messages when running 'make clean' using the dpdk
submodule, because the rte_config.h file is removed before the other
SPDK directories get a chance to run 'make clean'.

Change-Id: I903c9f5801c04302407b2217723466cd6883fbda
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/378172
Reviewed-by: John Kariuki <John.K.Kariuki@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-09-12 16:43:31 -04:00
..
env_internal.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env.c lib/env: add spdk_unaffinitize_thread 2017-06-23 11:02:04 -04:00
env.mk env_dpdk: use detected include file path 2017-09-12 16:43:31 -04:00
init.c event/env: remove dpdk_ prefix 2017-06-16 14:20:26 -04:00
Makefile env: Move lcore functions into env layer. 2017-04-04 09:19:01 -07:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci.c env: extend PCI address domain to 32 bits 2017-06-23 11:20:05 -04:00
threads.c env: Add wrappers to launch and wait for threads 2017-06-07 12:34:15 -04:00
vtophys.c env_dpdk: allow spdk_mem_map_free() map to be NULL 2017-06-30 13:53:30 -04:00