[PATCH v2] net/intel: add 400G link speed support

Bruce Richardson bruce.richardson at intel.com
Wed Oct 28 15:39:55 CET 2026


On Wed, Oct 28, 2026 at 04:13:51PM +0530, Shaiq Wani wrote:
> The idpf and cpfl PMDs map the device-reported link speed (in Mbps)
> against a fixed table of supported speeds. That table stopped at 200G,
> so ports operating at 400G reported their link speed as "Unknown":
> the advertised 400000 Mbps had no matching entry in the driver's
> supported-speeds table and the link update fell back to
> RTE_ETH_SPEED_NUM_UNKNOWN.
> 
> Add RTE_ETH_SPEED_NUM_400G to the supported-speeds table of both the
> idpf and cpfl drivers so the correct 400 Gbps link speed is reported.
> 
> Signed-off-by: Shaiq Wani <shaiq.wani at intel.com>
> ---
> v2:
>  - add trailing comma after the last array entry making later additions easier.
>  - also add the 400G entry to the cpfl driver.
> 
>  drivers/net/intel/cpfl/cpfl_ethdev.c | 3 ++-
>  drivers/net/intel/idpf/idpf_ethdev.c | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Patch applied to dpdk-next-net-intel.
Thanks,
/Bruce


More information about the dev mailing list