avoid AltiVec keyword vector
[dpdk.git] / lib / regexdev / rte_regexdev.h
index 86f0b23..3bce809 100644 (file)
@@ -199,11 +199,8 @@ extern "C" {
 #endif
 
 #include <rte_common.h>
-#include <rte_config.h>
 #include <rte_dev.h>
-#include <rte_errno.h>
 #include <rte_mbuf.h>
-#include <rte_memory.h>
 
 #define RTE_REGEXDEV_NAME_MAX_LEN RTE_DEV_NAME_MAX_LEN
 
@@ -228,6 +225,9 @@ extern int rte_regexdev_logtype;
 } while (0)
 
 /**
+ * @warning
+ * @b EXPERIMENTAL: this API may change without prior notice.
+ *
  * Check if dev_id is ready.
  *
  * @param dev_id
@@ -237,6 +237,7 @@ extern int rte_regexdev_logtype;
  *   - 0 if device state is not in ready state.
  *   - 1 if device state is ready state.
  */
+__rte_experimental
 int rte_regexdev_is_valid_dev(uint16_t dev_id);
 
 /**
@@ -298,14 +299,14 @@ rte_regexdev_get_dev_id(const char *name);
  * backtracking positions remembered by any tokens inside the group.
  * Example RegEx is `a(?>bc|b)c` if the given patterns are `abc` and `abcc` then
  * `a(bc|b)c` matches both where as `a(?>bc|b)c` matches only abcc because
- * atomic groups don't allow backtracing back to `b`.
+ * atomic groups don't allow backtracking back to `b`.
  *
  * @see struct rte_regexdev_info::regexdev_capa
  */
 
 #define RTE_REGEXDEV_SUPP_PCRE_BACKTRACKING_CTRL_F (1ULL << 3)
 /**< RegEx device support PCRE backtracking control verbs.
- * Some examples of backtracing verbs are (*COMMIT), (*ACCEPT), (*FAIL),
+ * Some examples of backtracking verbs are (*COMMIT), (*ACCEPT), (*FAIL),
  * (*SKIP), (*PRUNE).
  *
  * @see struct rte_regexdev_info::regexdev_capa
@@ -1015,7 +1016,7 @@ rte_regexdev_rule_db_update(uint8_t dev_id,
  * @b EXPERIMENTAL: this API may change without prior notice.
  *
  * Compile local rule set and burn the complied result to the
- * RegEx deive.
+ * RegEx device.
  *
  * @param dev_id
  *   RegEx device identifier.