b42cf6eaff
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> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
vtophys.c |