> -----Original Message-----
> From: Ori Kam <or...@nvidia.com>
> Sent: Wednesday, October 21, 2020 10:15 AM
> To: Guy Kaneti <g...@marvell.com>; NBU-Contact-Thomas Monjalon
> <tho...@monjalon.net>
> Cc: dev@dpdk.org; Smadar Fuks <smad...@marvell.com>; Dovrat Zifroni
> <dov...@marvell.com>; Jerin Jacob Kollanukkaran <jer...@marvell.com>
> Subject: RE: [EXT] Re: [dpdk-dev] [PATCH v1] regexdev: add OOS capability
> definition
> 
> Hi
> 
> > -----Original Message-----
> > From: Guy Kaneti <g...@marvell.com>
> > Sent: Tuesday, October 20, 2020 5:24 PM
> > Subject: RE: [EXT] Re: [dpdk-dev] [PATCH v1] regexdev: add OOS
> > capability definition
> >
> >
> >
> > > -----Original Message-----
> > > From: Thomas Monjalon <tho...@monjalon.net>
> > > Sent: Tuesday, October 20, 2020 3:37 PM
> > > To: Guy Kaneti <g...@marvell.com>
> > > Cc: or...@nvidia.com; dev@dpdk.org; Smadar Fuks
> > > <smad...@marvell.com>; Dovrat Zifroni <dov...@marvell.com>; Jerin
> > > Jacob Kollanukkaran <jer...@marvell.com>
> > > Subject: [EXT] Re: [dpdk-dev] [PATCH v1] regexdev: add OOS
> > > capability definition
> > >
> > > External Email
> > >
> > > --------------------------------------------------------------------
> > > --
> > > 20/10/2020 10:16, g...@marvell.com:
> > > > 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>
> > > > ---
> > > > --- a/lib/librte_regexdev/rte_regexdev.h
> > > > +++ b/lib/librte_regexdev/rte_regexdev.h
> > > > +#define RTE_REGEXDEV_CAPA_QUEUE_PAIR_OOS_F (1ULL << 22)
> /**<
> > > RegEx
> > > > +device support out of order scan, this means the scan can be
> > > > +retired
> > >
> > > s/support/supports/
> >
> > I followed the other RTE_REGEXDEV_CAPA_ definitions I can fix it here
> >
> > >
> > > What means "retired"?
> >
> > This was the original description in the rte_regexdev.h:
> >
> > #define RTE_REGEX_QUEUE_PAIR_CFG_OOS_F (1ULL << 0) /**< Out of
> order
> > scan, If not set, a scan must retire after previously issued
> >  * in-order scans to this queue pair. If set, this scan can be retired
> > as soon
> >  * as device returns completion. Application should not set out of
> > order scan
> >  * flag if it needs to maintain the ingress order of scan request.
> >
> I agree with Thomas, it is not very clear, The idea was to show that a scan 
> can
> return a result From newer job/search on a specific queue before a previous
> job on the same queue is completed.

How about this description:

/**< 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.
 *

> 
> Best,
> Ori
> 
> > >
> > > > + * as soon as device returns completion.
> > > > + *
> > > > + * @see RTE_REGEX_QUEUE_PAIR_CFG_OOS_F
> > > > + * @see struct rte_regexdev_info::regexdev_capa */
> > >
> > >

Reply via email to