]> git.ipfire.org Git - thirdparty/linux.git/commit
net: mana: Handle Reset Request from MANA NIC
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 27 Jun 2025 20:26:23 +0000 (13:26 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Jul 2025 02:17:53 +0000 (19:17 -0700)
commitfbe346ce9d626680a4dd0f079e17c7b5dd32ffad
treea07ecb54719b53cf9215440f69ee5634b068bfe8
parentf461c7a885d9d625137b897cd63fa236e92e03c4
net: mana: Handle Reset Request from MANA NIC

Upon receiving the Reset Request, pause the connection and clean up
queues, wait for the specified period, then resume the NIC.
In the cleanup phase, the HWC is no longer responding, so set hwc_timeout
to zero to skip waiting on the response.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Link: https://patch.msgid.link/1751055983-29760-1-git-send-email-haiyangz@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microsoft/mana/gdma_main.c
drivers/net/ethernet/microsoft/mana/hw_channel.c
drivers/net/ethernet/microsoft/mana/mana_en.c
include/net/mana/gdma.h