[PATCH v6 1/1] ethdev: add support to provide link type
Morten Brørup
mb at smartsharesystems.com
Wed Aug 20 14:51:13 CEST 2025
Search-replace link_type by link_connector in this patch.
There are still variables, functions and other names using link_type in the patch.
> +/**
> + * @enum rte_eth_link_connector
> + * @brief Ethernet port link connector type
> + *
> + * This enum defines the possible types of Ethernet port link connectors.
> + */
> +enum rte_eth_link_connector {
> + RTE_ETH_LINK_CONNECTOR_NONE = 0, /**< Not defined */
[...]
> + RTE_ETH_LINK_CONNECTOR_OTHER = 31, /**< non-physical interfaces like
> virtio, ring etc */
For clarity, please add to the CONNECTOR_OTHER description that it also includes unknown connector types, i.e. physical connectors not yet defined in this list of connector types.
So CONNECTOR_NONE is only used like a NULL value, and not for any other purposes.
> +};
> +
More information about the dev
mailing list