Displaying 1 result from an estimated 1 matches for "68de727398ed".
Did you mean:
68de727398e
2023 Feb 09
1
[PATCH] vdpa: snet: clear dpu_ready flag on reset
...herwise, the DPU won't start
again after reset.
Signed-off-by: Alvaro Karsz <alvaro.karsz at solid-run.com>
---
drivers/vdpa/solidrun/snet_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/vdpa/solidrun/snet_main.c b/drivers/vdpa/solidrun/snet_main.c
index 0c13ccde4520..68de727398ed 100644
--- a/drivers/vdpa/solidrun/snet_main.c
+++ b/drivers/vdpa/solidrun/snet_main.c
@@ -255,6 +255,7 @@ static int snet_reset_dev(struct snet *snet)
snet_free_irqs(snet);
/* Reset status */
snet->status = 0;
+ snet->dpu_ready = false;
if (ret)
SNET_WARN(pdev, "Incomplete...