[dpdk-dev] [PATCH] net/ice: add AVX512BW flag check both in build and runtime

Ali Alnubani alialnu at nvidia.com
Tue Oct 27 14:12:20 CET 2020


Hi,

> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit at intel.com>
> Sent: Tuesday, October 27, 2020 1:57 PM
> To: Leyi Rong <leyi.rong at intel.com>; qi.z.zhang at intel.com;
> bruce.richardson at intel.com; wenzhuo.lu at intel.com; Ali Alnubani
> <alialnu at nvidia.com>; Andrew Rybchenko <arybchenko at solarflare.com>;
> David Marchand <david.marchand at redhat.com>
> Cc: dev at dpdk.org
> Subject: Re: [PATCH] net/ice: add AVX512BW flag check both in build and
> runtime
> 
> On 10/27/2020 10:19 AM, Leyi Rong wrote:
> > Intrinsic function __mm512_bsrli_epi128 should be used in the
> > environment which supports AVX512BW, so adds check for this flag.
> >
> > Fixes: 5dd3b8f3af34 ("net/ice: add AVX512 vector path")
> >
> > Signed-off-by: Leyi Rong <leyi.rong at intel.com>
> 
> Squashed into relevant commit in next-net, thanks.
> 
> 
> Andrew, Ali, David,
> 
> Can you please confirm the issue is solved in the next-net/main?
> 

The build failures in CentOS 7, Ubuntu 18.04 and in OpenSUSE Leap 15.2 no longer reproduce. But we just noticed that Ubuntu 16.04.7 (gcc 5.4.0) is also failing with a different error:

"""
drivers/net/ice/ice_rxtx_vec_avx512.c:1:0: error: bad value (skylake-avx512) for -march= switch
 /* SPDX-License-Identifier: BSD-3-Clause
"""
Which is also caused by "net/ice: add AVX512 vector path".

Regards,
Ali


More information about the dev mailing list