On 2/17/2023 10:50 AM, Jiawei Wang wrote:
> +/**
> + * @warning
> + * @b EXPERIMENTAL: this API may change without prior notice.
> + *
> + *  Get the number of aggregated ports of the DPDK port (specified with 
> port_id).
> + *  It is used when multiple ports are aggregated into a single one.
> + *
> + *  For the regular physical port doesn't have aggregated ports,
> + *  the number of aggregated ports is reported as 0.
> + *
> + * @param port_id
> + *   The port identifier of the Ethernet device.
> + * @return
> + *   - (>=0) the number of aggregated port if success.
> + *   - (-ENOTSUP) if not supported.
> + */
> +__rte_experimental
> +int rte_eth_dev_count_aggr_ports(uint16_t port_id);

(-ENOTSUP) not returned anymore, if this is the only change I can fix it
while merging.

Reply via email to