26 lines
918 B
Diff
26 lines
918 B
Diff
From e6009977b9ecb1136489b483e312a5e3e09a5497 Mon Sep 17 00:00:00 2001
|
|
From: Changsheng Wu <wuchangsheng2@huawei.com>
|
|
Date: Fri, 12 Nov 2021 17:04:22 +0800
|
|
Subject: [PATCH] huawei-0005-dpdk-change-the-log-level-in-prepare_numa
|
|
|
|
---
|
|
lib/eal/linux/eal_memalloc.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/eal/linux/eal_memalloc.c b/lib/eal/linux/eal_memalloc.c
|
|
index 337f2bc739..fc354f4a17 100644
|
|
--- a/lib/eal/linux/eal_memalloc.c
|
|
+++ b/lib/eal/linux/eal_memalloc.c
|
|
@@ -167,7 +167,7 @@ prepare_numa(int *oldpolicy, struct bitmask *oldmask, int socket_id)
|
|
RTE_LOG(DEBUG, EAL, "Trying to obtain current memory policy.\n");
|
|
if (get_mempolicy(oldpolicy, oldmask->maskp,
|
|
oldmask->size + 1, 0, 0) < 0) {
|
|
- RTE_LOG(ERR, EAL,
|
|
+ RTE_LOG(DEBUG, EAL,
|
|
"Failed to get current mempolicy: %s. "
|
|
"Assuming MPOL_DEFAULT.\n", strerror(errno));
|
|
*oldpolicy = MPOL_DEFAULT;
|
|
--
|
|
2.27.0
|
|
|