[PATCH v7 5/5] ipsec: fix usage of RTE_LOGTYPE_USER1
Stephen Hemminger
stephen at networkplumber.org
Tue Feb 21 19:55:53 CET 2023
There already is a logtype in this driver, use it!
Fixes: b35848bc01f6 ("crypto/ipsec_mb: add multi-process IPC request handler")
Cc: kai.ji at intel.com
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/ipsec_mb/ipsec_mb_ops.c b/drivers/crypto/ipsec_mb/ipsec_mb_ops.c
index 3e52f9567401..e9eb0d15b794 100644
--- a/drivers/crypto/ipsec_mb/ipsec_mb_ops.c
+++ b/drivers/crypto/ipsec_mb/ipsec_mb_ops.c
@@ -7,6 +7,7 @@
#include <rte_common.h>
#include <rte_malloc.h>
+#include <rte_log.h>
#include "ipsec_mb_private.h"
@@ -125,7 +126,7 @@ ipsec_mb_secondary_qp_op(int dev_id, int qp_id,
qp_req_msg.num_fds = 0;
ret = rte_mp_request_sync(&qp_req_msg, &qp_resp, &ts);
if (ret) {
- RTE_LOG(ERR, USER1, "Create MR request to primary process failed.");
+ IPSEC_MB_LOG(ERR, "Create MR request to primary process failed.");
return -1;
}
qp_resp_msg = &qp_resp.msgs[0];
--
2.39.1
More information about the dev
mailing list