Spdk/test/env
Darek Stojaczyk b42cf6eaff env/dpdk: allow changing DPDK loglevels
spdk_env_opts->env_context may now contain a DPDK-specific
string that will be appended directly into rte_eal_init().
It can be used to e.g. override the default EAL loglevel,
which was hardcoded to RTE_LOG_NOTICE so far.

This is primarily meant to be used during development.

As a test for this feature, the vtophys test app will now
set the highest possible EAL loglevel which will give us
a ton of additional debug logs.

Note: the opts->env_context field is implementation-specific
and hence the vtophys app needs to check if it's run with
our env_dpdk. As SPDK_CONFIG_ENV is a raw text not even
surrounded with quotation marks, the vtophys app needs to
do a bit of #define magic to make it a string.

Change-Id: I0b2196770e5b59a6c33d0170337c34f9f8b8466e
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/445111
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-02-22 08:49:45 +00:00
..
env_dpdk_post_init CH-test-pool: fix RTE_MAX_LCORE on centos7.2 2019-01-09 05:22:39 +00:00
memory env_dpdk: move vtophys.c contents to memory.c 2019-02-20 16:41:46 +00:00
pci test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
vtophys env/dpdk: allow changing DPDK loglevels 2019-02-22 08:49:45 +00:00
env.sh test/env_dpdk_post_init: use only a single core 2019-01-22 14:01:57 +00:00
Makefile env: add spdk_env_dpdk_post_init 2019-01-08 13:28:31 +00:00