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. > +}; > +