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: remove unused flags field
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_eal.h
diff --git
a/lib/librte_eal/common/include/rte_eal.h
b/lib/librte_eal/common/include/rte_eal.h
index
273da9a
..
f2c4b7d
100644
(file)
--- a/
lib/librte_eal/common/include/rte_eal.h
+++ b/
lib/librte_eal/common/include/rte_eal.h
@@
-78,9
+78,6
@@
struct rte_config {
/** Primary or secondary configuration */
enum rte_proc_type_t process_type;
/** 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
/**
* Pointer to memory configuration, which may be shared across multiple
* Intel DPDK instances
@@
-88,9
+85,6
@@
struct rte_config {
struct rte_mem_config *mem_config;
} __attribute__((__packed__));
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.
*
/**
* Get the global configuration structure.
*
@@
-118,6
+112,17
@@
enum rte_lcore_role_t rte_eal_lcore_role(unsigned lcore_id);
*/
enum rte_proc_type_t rte_eal_process_type(void);
*/
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).
*
/**
* Initialize the Environment Abstraction Layer (EAL).
*