[dpdk-dev] [EXT] [PATCH v5] cryptodev: add telemetry callbacks
Akhil Goyal
gakhil at marvell.com
Mon Oct 25 06:32:21 CEST 2021
> ---
> 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.
More information about the dev
mailing list