DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ye Xiaolong <xiaolong.ye@intel.com>
To: David Christensen <drc@linux.vnet.ibm.com>
Cc: beilei.xing@intel.com, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] net/i40e: enable PPC altivec support for meson builds
Date: Wed, 22 Apr 2020 15:20:28 +0800	[thread overview]
Message-ID: <20200422072028.GB105307@intel.com> (raw)
In-Reply-To: <20200409182055.14418-1-drc@linux.vnet.ibm.com>

On 04/09, David Christensen wrote:
>The meson build file does not enable i40e vectorization support for
>PPC/altivec systems, even though the existing Makefile does enable the
>support. Add the required architecture check and sources line.
>
>Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>
>---
> drivers/net/i40e/meson.build | 3 +++
> 1 file changed, 3 insertions(+)
>
>diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build
>index b01babba1..cb278696f 100644
>--- a/drivers/net/i40e/meson.build
>+++ b/drivers/net/i40e/meson.build
>@@ -45,6 +45,9 @@ if arch_subdir == 'x86'
> 				c_args: [cflags, '-mavx2'])
> 		objs += i40e_avx2_lib.extract_objects('i40e_rxtx_vec_avx2.c')
> 	endif
>+elif arch_subdir == 'ppc'
>+       dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
>+       sources += files('i40e_rxtx_vec_altivec.c')
> endif
> 
> install_headers('rte_pmd_i40e.h')
>-- 
>2.18.1
>

Applied to dpdk-next-net-intel, Thanks.

      parent reply	other threads:[~2020-04-22  7:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-09 18:20 David Christensen
2020-04-10  9:48 ` Bruce Richardson
2020-04-22  7:20 ` Ye Xiaolong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200422072028.GB105307@intel.com \
    --to=xiaolong.ye@intel.com \
    --cc=beilei.xing@intel.com \
    --cc=dev@dpdk.org \
    --cc=drc@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).