git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal/linux: support built-in kernel modules
[dpdk.git]
/
lib
/
librte_eal
/
linuxapp
/
igb_uio
/
compat.h
diff --git
a/lib/librte_eal/linuxapp/igb_uio/compat.h
b/lib/librte_eal/linuxapp/igb_uio/compat.h
index
9454382
..
c1d45a6
100644
(file)
--- a/
lib/librte_eal/linuxapp/igb_uio/compat.h
+++ b/
lib/librte_eal/linuxapp/igb_uio/compat.h
@@
-11,6
+11,10
@@
#define pci_cfg_access_unlock pci_unblock_user_cfg_access
#endif
#define pci_cfg_access_unlock pci_unblock_user_cfg_access
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0)
+#define HAVE_PTE_MASK_PAGE_IOMAP
+#endif
+
#ifndef PCI_MSIX_ENTRY_SIZE
#define PCI_MSIX_ENTRY_SIZE 16
#define PCI_MSIX_ENTRY_LOWER_ADDR 0
#ifndef PCI_MSIX_ENTRY_SIZE
#define PCI_MSIX_ENTRY_SIZE 16
#define PCI_MSIX_ENTRY_LOWER_ADDR 0