[PATCH] net/nfp: fix incorrect link status after LSC event

Ferruh Yigit ferruh.yigit at amd.com
Fri Jun 9 16:17:37 CEST 2023


On 6/9/2023 7:28 AM, Chaoyong He wrote:
> From: James Hershaw <james.hershaw at corigine.com>
> 
> Incorrect port speed shown after a link state and interrupt of type
> RTE_ETH_EVENT_INTR_LSC occurs. This is because the interrupt handler for
> this type of event in the nfp PMD does not reconfigure the netdev.
> 
> Fixed by moving the call to the nfp_net_notify_port_speed() function to
> within the nfp_net_link_update() function, which is called by the
> interrupt handler.
> 
> Fixes: 36a9abd4b679 ("net/nfp: write link speed to control BAR")
> Cc: stable at dpdk.org
> 
> Signed-off-by: James Hershaw <james.hershaw at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Long Wu <long.wu at corigine.com>
> Reviewed-by: Niklas Söderlund <niklas.soderlund at corigine.com>
>

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



More information about the stable mailing list