Re: [PATCH] net/nfp: changes to link status reporting

2023-06-21 Thread Ferruh Yigit
On 6/15/2023 4:27 AM, Chaoyong He wrote: > From: James Hershaw > > 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. Changes in this patch include: > > Addition of listener function to deal with

[PATCH] net/nfp: changes to link status reporting

2023-06-14 Thread Chaoyong He
From: James Hershaw 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. Changes in this patch include: Addition of listener function to deal with control messages of type NFP_FLOWER_CMSG_TYPE_PORT_MOD