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

2023-01-18 Thread Ferruh Yigit
On 12/9/2022 2:43 AM, Chaoyong He wrote: > From: Long Wu > > 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 > instea

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

2022-12-08 Thread Chaoyong He
From: Long Wu 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 c