[PATCH] eal/common: fix inconsistent representation of PCI numbers
Stephen Hemminger
stephen at networkplumber.org
Sat Oct 5 00:21:23 CEST 2024
On Mon, 1 Jul 2024 23:01:17 +0300
Shani Peretz <shperetz at nvidia.com> wrote:
> +/**
> + * General device name comparison. Will compare by using the specific bus
> + * compare function or by comparing the names directly.
> + *
> + * @param dev
> + * Device handle.
> + * @param name
> + * Name to compare against.
> + * @return
> + * 0 if the device matches the name. Nonzero otherwise.
> + */
> +__rte_experimental
> +int
> +rte_cmp_dev_name(const struct rte_device *dev, const void *name);
Why is this not rte_internal instead of experimental?
Why is the name arguement void * instead of char *?
And there are other questions in the mail thread.
That is why it has not gotten accepted.
More information about the dev
mailing list