* [PATCH v1] net/zxdh: adjust the log level
@ 2026-02-05 9:23 Tianhao Zhang
2026-02-06 1:49 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Tianhao Zhang @ 2026-02-05 9:23 UTC (permalink / raw)
To: stephen, wang.junlong1, yang.yonggang; +Cc: dev, Tianhao Zhang
[-- Attachment #1.1.1: Type: text/plain, Size: 1120 bytes --]
Since some flow tables do not have partner tables, change the log level from error to debug.
Signed-off-by: Tianhao Zhang <zhang.tianhao2@zte.com.cn>
---
drivers/net/zxdh/zxdh_np.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/zxdh/zxdh_np.c b/drivers/net/zxdh/zxdh_np.c
index 024da113e2..486478048e 100644
--- a/drivers/net/zxdh/zxdh_np.c
+++ b/drivers/net/zxdh/zxdh_np.c
@@ -4092,7 +4092,7 @@ zxdh_np_one_hash_soft_uninstall(uint32_t dev_id, uint32_t hash_id)
HASH_DDR_CFG *p_temp_rbkey = NULL;
if (p_func_info->is_used == 0) {
- PMD_DRV_LOG(ERR, "Error[0x%x], fun_id [%u] is not init!",
+ PMD_DRV_LOG(DEBUG, "Error[0x%x], fun_id [%u] is not init!",
ZXDH_SE_RC_FUN_INVALID, hash_id);
return ZXDH_OK;
}
@@ -4849,7 +4849,7 @@ zxdh_np_soft_sdt_tbl_get(uint32_t dev_id, uint32_t sdt_no, void *p_sdt_info)
uint32_t rc;
if (sdt_no > ZXDH_DEV_SDT_ID_MAX - 1) {
- PMD_DRV_LOG(ERR, "SDT NO [ %u ] is invalid!", sdt_no);
+ PMD_DRV_LOG(DEBUG, "SDT NO [ %u ] is invalid!", sdt_no);
return ZXDH_PAR_CHK_INVALID_PARA;
}
--
2.27.0
[-- Attachment #1.1.2: Type: text/html , Size: 2343 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-06 1:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-05 9:23 [PATCH v1] net/zxdh: adjust the log level Tianhao Zhang
2026-02-06 1:49 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox