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