Commit 5bb66add authored by Andrey Kuzmin's avatar Andrey Kuzmin Committed by Daniel Verkamp
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent accf2298
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>

+1 −1
Original line number Diff line number Diff line
@@ -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>