DPDK patches and discussions
 help / color / mirror / Atom feed
From: Tianhao Zhang <zhang.tianhao2@zte.com.cn>
To: stephen@networkplumber.org, wang.junlong1@zte.com.cn,
	yang.yonggang@zte.com.cn
Cc: dev@dpdk.org, Tianhao Zhang <zhang.tianhao2@zte.com.cn>
Subject: [PATCH v2 2/2] net/zxdh: optimize the procedure for NP online uninit
Date: Tue, 30 Dec 2025 16:11:27 +0800	[thread overview]
Message-ID: <20251230081127.813605-3-zhang.tianhao2@zte.com.cn> (raw)
In-Reply-To: <20251230081127.813605-1-zhang.tianhao2@zte.com.cn>


[-- Attachment #1.1.1: Type: text/plain, Size: 849 bytes --]

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@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 89c9283498..7ee9810920 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

[-- Attachment #1.1.2: Type: text/html , Size: 1565 bytes --]

  parent reply	other threads:[~2025-12-30  8:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-09  2:16 [PATCH v1] net/zxdh: add pcie bar channel check Tianhao Zhang
2025-12-22 10:25 ` [PATCH v1 0/2] fix bug Tianhao Zhang
2025-12-22 10:25   ` [PATCH v1 1/2] net/zxdh: add pcie bar channel check Tianhao Zhang
2025-12-22 18:37     ` Stephen Hemminger
2025-12-30  8:11     ` [PATCH v2 0/2] fix npsdk bug Tianhao Zhang
2025-12-30  8:11       ` [PATCH v2 1/2] net/zxdh: add pcie bar channel check Tianhao Zhang
2025-12-30 18:29         ` Stephen Hemminger
2025-12-30  8:11       ` Tianhao Zhang [this message]
2025-12-22 10:25   ` [PATCH v1 2/2] net/zxdh: delete np soft resource uninstallation Tianhao Zhang
2025-12-22 18:38     ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251230081127.813605-3-zhang.tianhao2@zte.com.cn \
    --to=zhang.tianhao2@zte.com.cn \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=wang.junlong1@zte.com.cn \
    --cc=yang.yonggang@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).