[PATCH] net/nfp: add support reading linkspeed from port table

Ferruh Yigit ferruh.yigit at amd.com
Wed Jan 18 16:34:21 CET 2023


On 12/9/2022 2:43 AM, Chaoyong He wrote:
> From: Long Wu <long.wu at corigine.com>
> 
> The NFP PMD driver retrieves the linkspeed by reading the
> NFP_NET_CFG_STS_LINK register. This register is not set by all versions
> of the firmware.
> 
> Add a second preferred method to read the linkspeed from the port table
> instead, while keeping the old lookup method as a fallback in case that
> is not supported.
> 
> Signed-off-by: Long Wu <long.wu at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Niklas Söderlund <niklas.soderlund at corigine.com>

Applied to dpdk-next-net/main, thanks.



More information about the dev mailing list