[PATCH v2 23/25] net/axgbe: fix the false linkup in axgbe PHY status

Ferruh Yigit ferruh.yigit at amd.com
Mon May 20 13:25:45 CEST 2024


On 5/7/2024 1:43 PM, Venkat Kumar Ande wrote:
> In the event of a change in AXGBE mode, the current auto-negotiation
> needs to be reset and the AN cycle needs to be re-triggered. However,
> the current code ignores the return value of axgbe_set_mode(), leading to
> false information as the link is declared without checking the status
> register.
> 
> Fix this by propagating the mode switch status information to
> axgbe_phy_status().
> 
> Fixes: 102b6ec3d5c3 ("net/axgbe: support auto-negotiation for 1Gbps")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Venkat Kumar Ande <venkatkumar.ande at amd.com>
>

Should we move this fix too, as done with other patches, at the
beginning of the set?
Otherwise because of previous patches this patch won't apply cleanly to
stable releases.


More information about the dev mailing list