Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 17.11.4
[deb_dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_memory.h
diff --git
a/lib/librte_eal/common/include/rte_memory.h
b/lib/librte_eal/common/include/rte_memory.h
index
14aacea
..
b2a0168
100644
(file)
--- a/
lib/librte_eal/common/include/rte_memory.h
+++ b/
lib/librte_eal/common/include/rte_memory.h
@@
-49,6
+49,7
@@
extern "C" {
#endif
#include <rte_common.h>
#endif
#include <rte_common.h>
+#include <rte_config.h>
__extension__
enum rte_page_sizes {
__extension__
enum rte_page_sizes {
@@
-208,6
+209,9
@@
unsigned rte_memory_get_nchannel(void);
*/
unsigned rte_memory_get_nrank(void);
*/
unsigned rte_memory_get_nrank(void);
+/* check memsegs iovas are within a range based on dma mask */
+int rte_eal_check_dma_mask(uint8_t maskbits);
+
/**
* Drivers based on uio will not load unless physical
* addresses are obtainable. It is only possible to get
/**
* Drivers based on uio will not load unless physical
* addresses are obtainable. It is only possible to get