]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
amd-xgbe: fix link status handling in xgbe_rx_adaptation
authorRaju Rangoju <Raju.Rangoju@amd.com>
Fri, 6 Mar 2026 11:16:27 +0000 (16:46 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Mar 2026 11:07:06 +0000 (12:07 +0100)
commit6485cb96be5cd0f4bf39554737ba11322cc9b053
treebe0bfca63ffe637b219c6ab2dba6c80f1d6edf03
parent7d86aa41c073c4e7eb75fd2e674f1fd8f289728a
amd-xgbe: fix link status handling in xgbe_rx_adaptation

The link status bit is latched low to allow detection of momentary
link drops. If the status indicates that the link is already down,
read it again to obtain the current state.

Fixes: 4f3b20bfbb75 ("amd-xgbe: add support for rx-adaptation")
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Link: https://patch.msgid.link/20260306111629.1515676-2-Raju.Rangoju@amd.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c