[PATCH v2] eal/common: fix inconsistent representation of PCI numbers

Stephen Hemminger stephen at networkplumber.org
Mon Jul 8 18:40:21 CEST 2024


On Mon, 8 Jul 2024 13:25:13 +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
> +

Since this is only used internally now, maybe better to make it
internal rather than experimental. If it is a public API, then you would
need to also write some function tests as well.


More information about the dev mailing list