[dpdk-dev] [PATCH v2 06/20] regex/mlx5: add probe function

Thomas Monjalon thomas at monjalon.net
Wed Jul 15 19:38:43 CEST 2020


12/07/2020 22:58, Ori Kam:
> +/**
> + * DPDK callback to register a PCI device.

Is this intro useful?
Why specifying "DPDK"?

> + *
> + * This function spawns RegEx device out of a given PCI device.
> + *
> + * @param[in] pci_drv
> + *   PCI driver structure (mlx5_regex_driver).
> + * @param[in] pci_dev
> + *   PCI device information.
> + *
> + * @return
> + *   0 on success, 1 to skip this driver, a negative errno value otherwise
> + *   and rte_errno is set.
> + */

Do we really need doxygen in a C file of a driver?




More information about the dev mailing list