[PATCH v1] net/zxdh: adjust the log level
Tianhao Zhang
zhang.tianhao2 at zte.com.cn
Thu Feb 5 10:23:17 CET 2026
Since some flow tables do not have partner tables, change the log level from error to debug.
Signed-off-by: Tianhao Zhang <zhang.tianhao2 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20260205/a61a9d05/attachment.htm>
More information about the dev
mailing list