> -----Original Message-----
> From: Akhil Goyal <[email protected]>
> Sent: Monday 25 October 2021 05:32
> To: Troy, Rebecca <[email protected]>; [email protected]
> Cc: Power, Ciara <[email protected]>; Zhang, Roy Fan
> <[email protected]>; Doherty, Declan <[email protected]>
> Subject: RE: [EXT] [PATCH v5] cryptodev: add telemetry callbacks
> 
> > ---
> > v5:
> >  - Added missing telemetry dependency to meson.build.
> > v4:
> >   - Corrected doc heading underline and link.
> >   - Replaced remaining -1 return values with -EINVAL.
> 
> 
> > +
> > +static int
> > +cryptodev_handle_dev_list(const char *cmd __rte_unused,
> > +           const char *params __rte_unused,
> > +           struct rte_tel_data *d)
> > +{
> > +   int dev_id;
> > +
> > +   if (rte_cryptodev_count() < 1)
> > +           return -1;
> 
> EINVAL missed here.
> 

Good catch, thanks! Will fix now.

Reply via email to