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
crypto/qat: add device files
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_internal_cfg.h
diff --git
a/lib/librte_eal/common/eal_internal_cfg.h
b/lib/librte_eal/common/eal_internal_cfg.h
index
5cf7102
..
c4cbf3a
100644
(file)
--- a/
lib/librte_eal/common/eal_internal_cfg.h
+++ b/
lib/librte_eal/common/eal_internal_cfg.h
@@
-21,7
+21,7
@@
*/
struct hugepage_info {
uint64_t hugepage_sz; /**< size of a huge page */
*/
struct hugepage_info {
uint64_t hugepage_sz; /**< size of a huge page */
- c
onst char *hugedir
; /**< dir where hugetlbfs is mounted */
+ c
har hugedir[PATH_MAX]
; /**< dir where hugetlbfs is mounted */
uint32_t num_pages[RTE_MAX_NUMA_NODES];
/**< number of hugepages of that size on each socket */
int lock_descriptor; /**< file descriptor for hugepage dir */
uint32_t num_pages[RTE_MAX_NUMA_NODES];
/**< number of hugepages of that size on each socket */
int lock_descriptor; /**< file descriptor for hugepage dir */
@@
-51,6
+51,10
@@
struct internal_config {
/**< true to enable legacy memory behavior (no dynamic allocation,
* IOVA-contiguous segments).
*/
/**< true to enable legacy memory behavior (no dynamic allocation,
* IOVA-contiguous segments).
*/
+ volatile unsigned single_file_segments;
+ /**< true if storing all pages within single files (per-page-size,
+ * per-node) non-legacy mode only.
+ */
volatile int syslog_facility; /**< facility passed to openlog() */
/** default interrupt mode for VFIO */
volatile enum rte_intr_mode vfio_intr_mode;
volatile int syslog_facility; /**< facility passed to openlog() */
/** default interrupt mode for VFIO */
volatile enum rte_intr_mode vfio_intr_mode;