[dpdk-dev] [EXT] [PATCH v5] cryptodev: add telemetry callbacks
Troy, Rebecca
rebecca.troy at intel.com
Tue Oct 26 10:22:53 CEST 2021
> -----Original Message-----
> From: Akhil Goyal <gakhil at marvell.com>
> Sent: Monday 25 October 2021 05:32
> To: Troy, Rebecca <rebecca.troy at intel.com>; dev at dpdk.org
> Cc: Power, Ciara <ciara.power at intel.com>; Zhang, Roy Fan
> <roy.fan.zhang at intel.com>; Doherty, Declan <declan.doherty at intel.com>
> 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.
More information about the dev
mailing list