On 9/30/21 10:41, Kumar Amber wrote:
> 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 <i.maxim...@ovn.org>
> Signed-off-by: Kumar Amber <kumar.am...@intel.com>
> ---
>  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 b7d577870..fe24f9abd 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;
>  }
> 

Thanks!  Applied and backported.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to