Include rte_config.h before other DPDK headers
Building the tip of the spdk master against the dpdk-2.2.0 fails with inappropriate RTE_CACHE_LINE_SIZE error. The simple reversal of the RTE include file order below fixed it for me. Change-Id: I8782b7ee21d7f185e6e678f874fbdab9403117a5 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
accf229829
commit
5bb66add46
@ -5,8 +5,8 @@
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
#include <rte_malloc.h>
|
||||
#include <rte_config.h>
|
||||
#include <rte_malloc.h>
|
||||
#include <rte_atomic.h>
|
||||
#include <rte_cycles.h>
|
||||
|
||||
|
@ -38,8 +38,8 @@
|
||||
#include "spdk/pci.h"
|
||||
#include "spdk/nvme_spec.h"
|
||||
#include <assert.h>
|
||||
#include <rte_malloc.h>
|
||||
#include <rte_config.h>
|
||||
#include <rte_malloc.h>
|
||||
#include <rte_mempool.h>
|
||||
#include <rte_memcpy.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user