/** Primary or secondary configuration */
enum rte_proc_type_t process_type;
- /** A set of general status flags */
- unsigned flags;
-
/**
* Pointer to memory configuration, which may be shared across multiple
* Intel DPDK instances
struct rte_mem_config *mem_config;
} __attribute__((__packed__));
-/* Flag definitions for rte_config flags */
-#define EAL_FLG_HIGH_IOPL 1 /**< indicates high IO privilege in a linux env */
-
/**
* Get the global configuration structure.
*
*/
enum rte_proc_type_t rte_eal_process_type(void);
+/**
+ * Request iopl privilege for all RPL.
+ *
+ * This function should be called by pmds which need access to ioports.
+
+ * @return
+ * - On success, returns 0.
+ * - On failure, returns -1.
+ */
+int rte_eal_iopl_init(void);
+
/**
* Initialize the Environment Abstraction Layer (EAL).
*