[PATCH v3 2/2] net/zxdh: optimize the procedure for NP online uninit
Tianhao Zhang
zhang.tianhao2 at zte.com.cn
Tue Feb 3 08:17:29 CET 2026
Remove the NP software resource uninstallation procedure from the NP
online uninit process. The NP software resource uninstallation should be
called separately within NP uninit to avoid duplicate resource
release.
Signed-off-by: Tianhao Zhang <zhang.tianhao2 at zte.com.cn>
---
drivers/net/zxdh/zxdh_np.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers/net/zxdh/zxdh_np.c
index 4cb9dde982..30c468c218 100644
--- a/drivers/net/zxdh/zxdh_np.c
+++ b/drivers/net/zxdh/zxdh_np.c
@@ -4242,10 +4242,6 @@ zxdh_np_online_uninit(uint32_t dev_id,
if (rc != 0)
PMD_DRV_LOG(ERR, "dtb release port name %s queue id %u", port_name, queue_id);
- rc = zxdh_np_soft_res_uninstall(dev_id);
- if (rc != 0)
- PMD_DRV_LOG(ERR, "zxdh_np_soft_res_uninstall failed");
-
return 0;
}
--
2.27.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20260203/f2686127/attachment.htm>
More information about the dev
mailing list