[PATCH v1 2/2] net/zxdh: delete np soft resource uninstallation
Stephen Hemminger
stephen at networkplumber.org
Mon Dec 22 19:38:43 CET 2025
On Mon, 22 Dec 2025 18:25:35 +0800
Tianhao Zhang <zhang.tianhao2 at zte.com.cn> wrote:
> Delete np soft resource uninstallation from NP online uninit process.
>
> 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 4e2637e1b6..3bb765e05d 100644
> --- a/drivers/net/zxdh/zxdh_np.c
> +++ b/drivers/net/zxdh/zxdh_np.c
> @@ -4243,10 +4243,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;
> }
>
OK, but would like a better explanation. I assume it something like "soft reset is not necessary on device cleanup"
More information about the dev
mailing list