]> git.droids-corp.org - dpdk.git/commitdiff
regexdev: add out-of-order scan capability
authorGuy Kaneti <guyk@marvell.com>
Wed, 21 Oct 2020 08:03:32 +0000 (11:03 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 3 Nov 2020 01:03:25 +0000 (02:03 +0100)
Add out of order scan capability to check PMD
support for OOS.

Signed-off-by: Guy Kaneti <guyk@marvell.com>
Acked-by: Ori Kam <orika@nvidia.com>
lib/librte_regexdev/rte_regexdev.h

index 4077e62c9533975d01cf9879d00fa53ebcd1ff7c..0001658925c9ff595f6f7a104c35eff8314c7553 100644 (file)
@@ -474,6 +474,15 @@ rte_regexdev_get_dev_id(const char *name);
  * @see RTE_REGEXDEV_CFG_MATCH_ALL_F
  */
 
+#define RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F (1ULL << 22)
+/**< RegEx device supports out of order scan.
+ * Out of order scan means the response of a specific job can be returned as
+ * soon as it is ready even if previous jobs on the same queue didn't complete.
+ *
+ * @see RTE_REGEX_QUEUE_PAIR_CFG_OOS_F
+ * @see struct rte_regexdev_info::regexdev_capa
+ */
+
 /* Enumerates PCRE rule flags */
 #define RTE_REGEX_PCRE_RULE_ALLOW_EMPTY_F (1ULL << 0)
 /**< When this flag is set, the pattern that can match against an empty string,