CH-test-pool: fix RTE_MAX_LCORE on centos7.2
Patch of adding spdk_env_dpdk_post_init failed in Chandler test pool on contos7_2 machine using a packaged DPDK. It's DPDK 17.11 which needs an explicit inclusion of rte_config.h. Change-Id: I017108aeb04c38063118ea37957ef971fc602fff Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/439598 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ziye Yang <optimistyzy@gmail.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
81551144be
commit
6af0c997ef
@ -36,6 +36,7 @@
|
||||
#include "spdk/nvme.h"
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/env_dpdk.h"
|
||||
#include <rte_config.h>
|
||||
#include <rte_eal.h>
|
||||
|
||||
#define MAX_DEVS 64
|
||||
|
Loading…
Reference in New Issue
Block a user