]> git.droids-corp.org - dpdk.git/commit
net/axgbe: reset PHY Rx when mailbox command timeout
authorSelwin Sebastian <selwin.sebastian@amd.com>
Tue, 25 Jan 2022 12:17:45 +0000 (17:47 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Jan 2022 14:29:24 +0000 (15:29 +0100)
commitcd48955b9f069afa415f9f136a1b040e3373e440
tree491e9bcfcb3875d0bd6dfd29b1b12856c7fff4d4
parent0df8d8df7ed6b3aa3547197464eeef1eab69b85a
net/axgbe: reset PHY Rx when mailbox command timeout

Sometimes mailbox commands timeout when the RX data path becomes
unresponsive. This prevents the submission of new mailbox commands
to DXIO. This patch identifies the timeout and resets the RX data
path so that the next message can be submitted properly.

Signed-off-by: Selwin Sebastian <selwin.sebastian@amd.com>
Acked-by: Chandubabu Namburu <chandu@amd.com>
drivers/net/axgbe/axgbe_common.h
drivers/net/axgbe/axgbe_phy_impl.c