Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Enable DPDK KNI code based on DPDK config
[vpp.git]
/
vnet
/
vnet
/
devices
/
dpdk
/
dpdk.h
diff --git
a/vnet/vnet/devices/dpdk/dpdk.h
b/vnet/vnet/devices/dpdk/dpdk.h
index
3e287a9
..
48c1772
100644
(file)
--- a/
vnet/vnet/devices/dpdk/dpdk.h
+++ b/
vnet/vnet/devices/dpdk/dpdk.h
@@
-45,7
+45,9
@@
#include <rte_ring.h>
#include <rte_mempool.h>
#include <rte_mbuf.h>
+#ifdef RTE_LIBRTE_KNI
#include <rte_kni.h>
+#endif
#include <rte_virtio_net.h>
#include <rte_pci_dev_ids.h>
#include <rte_version.h>