crypto/qat: add device files
[dpdk.git] / lib / librte_eal / common / eal_internal_cfg.h
index 5cf7102..c4cbf3a 100644 (file)
@@ -21,7 +21,7 @@
  */
 struct hugepage_info {
        uint64_t hugepage_sz;   /**< size of a huge page */
-       const char *hugedir;    /**< dir where hugetlbfs is mounted */
+       char 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 */
@@ -51,6 +51,10 @@ struct internal_config {
        /**< 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;