From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 248DFA04B5; Sun, 25 Oct 2020 17:24:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A8F502A66; Sun, 25 Oct 2020 17:24:11 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id D999B29D6 for ; Sun, 25 Oct 2020 17:24:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603643047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DN6XCS9l+AoWSJLWCq80rQ9gpnuJHxSFFIaQd8l/5wQ=; b=g7svxyPRNsm/f+P3esIo3MEaXeC5xnJVEb/2zXLfA/+9S+1DTZ6SRpzYj7xmm4yzExovKE BJZQCUcxfPeUvmhPJuwFZu7zovyDbCU3EwYdlMRdsPKp4cFaUGGaZxtQsuoBQucSG7Ntpe J1VMeQCCaRk0JkgcowdoqHSDhJOJDDc= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-308-tZxn7RwhPxiiHBSOeZtGWA-1; Sun, 25 Oct 2020 12:24:05 -0400 X-MC-Unique: tZxn7RwhPxiiHBSOeZtGWA-1 Received: by mail-vk1-f198.google.com with SMTP id t77so2742549vkt.18 for ; Sun, 25 Oct 2020 09:24:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DN6XCS9l+AoWSJLWCq80rQ9gpnuJHxSFFIaQd8l/5wQ=; b=fHkmXhvZauBhDz1lZJ/48emNjKmuT8W09oIG6esqA6oa1aFBd35V/0EZN4D1Gj0cyL oCuz44BCmF2VqcXHqJ9XDeofh3EQbkayUYPNIXduAO5kr/mT8ei7TRm9wKL1t3riXS8/ 2YRcRfbJjKhMzqDlvL3Mn0hCBUWCDjpVk56bSbooG4rxASCXKDKRiCmcftTqxcDeJ10a f+2TONyc8m7HiLowJccj+D7WCdfeatR7hn5rtvdmayqZCU7uyK8RMXoe/Jyr9s+YVRGF oAN/LzJrlldnjbJ12iZTy9fCgq1lXAcpVmVEwTgWmNUE8RN49UFJuP5L9pm/ICmez03p BoCA== X-Gm-Message-State: AOAM533fdXTLnlGU7u9YTXAkukr3OKMhpfx2rdN3E/aHIN/yupd87arm ri9uNbsf+goWWpbq0mkLOSas21PUY8g2ipiFJ7MtHZqpUnJhyBU5f2FFzc7w3geduHMyEYFLWN+ arEmplIhoBo6bvQ+upqg= X-Received: by 2002:a1f:6091:: with SMTP id u139mr13813642vkb.17.1603643044968; Sun, 25 Oct 2020 09:24:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB066vqxr5iZ3wTcc04XEXc3NcuF4GYtU4DMhEQD5rDWaxEI3/6FgO696LWCa5fkNxk0J8/mPBcTtUBddWTWM= X-Received: by 2002:a1f:6091:: with SMTP id u139mr13813617vkb.17.1603643044762; Sun, 25 Oct 2020 09:24:04 -0700 (PDT) MIME-Version: 1.0 References: <20200910065504.104217-1-leyi.rong@intel.com> <20201023041407.20442-1-leyi.rong@intel.com> <20201023041407.20442-2-leyi.rong@intel.com> In-Reply-To: <20201023041407.20442-2-leyi.rong@intel.com> From: David Marchand Date: Sun, 25 Oct 2020 17:23:53 +0100 Message-ID: To: Leyi Rong , Qi Zhang , "Yigit, Ferruh" Cc: Wenzhuo Lu , dev , Bruce Richardson , Thomas Monjalon Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello Leyi, Qi, Ferruh, On Fri, Oct 23, 2020 at 6:37 AM Leyi Rong wrote: > diff --git a/drivers/net/ice/meson.build b/drivers/net/ice/meson.build > index 254595af85..85e8baf912 100644 > --- a/drivers/net/ice/meson.build > +++ b/drivers/net/ice/meson.build > @@ -34,6 +34,17 @@ if arch_subdir == 'x86' > c_args: [cflags, '-mavx2']) > objs += ice_avx2_lib.extract_objects('ice_rxtx_vec_avx2.c') > endif > + > + if dpdk_conf.has('RTE_MACHINE_CPUFLAG_AVX512F') or (not machine_args.contains('-mno-avx512f') and cc.has_argument('-mavx512f')) > + cflags += ['-DCC_AVX512_SUPPORT'] > + ice_avx512_lib = static_library('ice_avx512_lib', > + 'ice_rxtx_vec_avx512.c', > + dependencies: [static_rte_ethdev, > + static_rte_kvargs, static_rte_hash], > + include_directories: includes, > + c_args: [cflags, '-march=skylake-avx512', '-mavx512f']) > + objs += ice_avx512_lib.extract_objects('ice_rxtx_vec_avx512.c') > + endif > endif > > sources += files('ice_dcf.c', > -- > 2.17.1 > RTE_MACHINE_CPUFLAG_AVX512F can be removed. Worth fixing before hitting the main tree. Thanks. -- David Marchand