Skip to content

Commit a360133

Browse files
author
Tom Barbette
committed
Compile with DPDK >= 17.11
rte_pci_device was moved to his own header
1 parent 5ed03ae commit a360133

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ans/ans_kni.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@
7474
#include <rte_cycles.h>
7575
#include <rte_malloc.h>
7676
#include <rte_kni.h>
77+
#include <rte_version.h>
78+
#if RTE_VERSION >= RTE_VERSION_NUM(17,11,0,0)
79+
# include <rte_bus_pci.h>
80+
#endif
7781

7882
#include "ans_kni.h"
7983

0 commit comments

Comments
 (0)