[v2] regexdev: add OOS capability definition
diff mbox series

Message ID 20201021080332.27463-1-guyk@marvell.com
State Accepted, archived
Delegated to: Thomas Monjalon
Headers show
Series
  • [v2] regexdev: add OOS capability definition
Related show

Checks

Context Check Description
ci/travis-robot success Travis build: passed
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/checkpatch success coding style OK

Commit Message

Guy Kaneti Oct. 21, 2020, 8:03 a.m. UTC
From: Guy Kaneti <guyk@marvell.com>

Add out of order scan capability to check PMD
support for OOS.

Signed-off-by: Guy Kaneti <guyk@marvell.com>
---
v2 - fix definition comment
---
 lib/librte_regexdev/rte_regexdev.h | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Ori Kam Oct. 21, 2020, 9:17 a.m. UTC | #1
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of guyk@marvell.com
> Sent: Wednesday, October 21, 2020 11:04 AM
> Subject: [dpdk-dev] [PATCH v2] regexdev: add OOS capability definition
> 
> From: Guy Kaneti <guyk@marvell.com>
> 
> Add out of order scan capability to check PMD
> support for OOS.
> 
> Signed-off-by: Guy Kaneti <guyk@marvell.com>
> ---
> v2 - fix definition comment
> ---
>  lib/librte_regexdev/rte_regexdev.h | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/lib/librte_regexdev/rte_regexdev.h
> b/lib/librte_regexdev/rte_regexdev.h
> index 4077e62c9..000165892 100644
> --- a/lib/librte_regexdev/rte_regexdev.h
> +++ b/lib/librte_regexdev/rte_regexdev.h
> @@ -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,
> --
> 2.28.0

Acked-by: Ori Kam <orika@nvidia.com>
Thanks,
Ori
Guy Kaneti Oct. 27, 2020, 9:19 a.m. UTC | #2
Hi,

> 
> Acked-by: Ori Kam <orika@nvidia.com>
> Thanks,
> Ori

Kind reminder to all maintainers.
Thomas Monjalon Nov. 3, 2020, 12:35 a.m. UTC | #3
> > From: Guy Kaneti <guyk@marvell.com>
> > 
> > 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>

Applied, thanks

Patch
diff mbox series

diff --git a/lib/librte_regexdev/rte_regexdev.h b/lib/librte_regexdev/rte_regexdev.h
index 4077e62c9..000165892 100644
--- a/lib/librte_regexdev/rte_regexdev.h
+++ b/lib/librte_regexdev/rte_regexdev.h
@@ -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,