From b5e3fd038dfd1871b82bf30436df21088b259b90 Mon Sep 17 00:00:00 2001 From: Kumar Amber Date: Thu, 30 Sep 2021 14:11:47 +0530 Subject: [PATCH] dpdk-stub: Change the ERR log to DBG. When DPDK is not availble and avx512 looks for isa the function returns an error log which results in unit test failures. By logging a debug level log, this still shows up in the vswitchd.log file, but won't fail unit tests that do not have DPDK built in. Suggested by: Ilya Maximets Signed-off-by: Kumar Amber Signed-off-by: Ilya Maximets --- lib/dpdk-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpdk-stub.c b/lib/dpdk-stub.c index b7d577870d8..fe24f9abdfc 100644 --- a/lib/dpdk-stub.c +++ b/lib/dpdk-stub.c @@ -83,7 +83,7 @@ bool dpdk_get_cpu_has_isa(const char *arch OVS_UNUSED, const char *feature OVS_UNUSED) { - VLOG_ERR_ONCE("DPDK not supported in this version of Open vSwitch, " + VLOG_DBG_ONCE("DPDK not supported in this version of Open vSwitch, " "cannot use CPU flag based optimizations"); return false; }