From: Guy Kaneti <g...@marvell.com> Add out of order scan capability to check PMD support for OOS.
Signed-off-by: Guy Kaneti <g...@marvell.com> --- lib/librte_regexdev/rte_regexdev.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/librte_regexdev/rte_regexdev.h b/lib/librte_regexdev/rte_regexdev.h index 4077e62c9..60cccf816 100644 --- a/lib/librte_regexdev/rte_regexdev.h +++ b/lib/librte_regexdev/rte_regexdev.h @@ -474,6 +474,14 @@ 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 support out of order scan, this means the scan can be retired + * as soon as device returns completion. + * + * @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, -- 2.28.0