DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Moessbauer, Felix" <felix.moessbauer@siemens.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: "keith.wiles@intel.com" <keith.wiles@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"henning.schild@siemens.com" <henning.schild@siemens.com>
Subject: Re: [dpdk-dev] [PATCH] Pktgen: Add build option to enable/disable AVX2 support
Date: Tue, 27 Oct 2020 11:51:29 +0000	[thread overview]
Message-ID: <AM0PR10MB193918521CD63BAACAE5ECB089160@AM0PR10MB1939.EURPRD10.PROD.OUTLOOK.COM> (raw)

Hi Bruce,

Yes it is for pktgen. I just updated the title (hope that this will be picked up by patchwork).
BTW: That's something to mention in the contributing guide of Pktgen as well.

Best regards,
Felix

> -----Original Message-----
> From: Bruce Richardson <bruce.richardson@intel.com>
> Sent: Tuesday, October 27, 2020 12:47 PM
> To: Moessbauer, Felix (T RDA IOT SES-DE) <felix.moessbauer@siemens.com>
> Cc: keith.wiles@intel.com; dev@dpdk.org; Schild, Henning (T RDA IOT SES-DE)
> <henning.schild@siemens.com>
> Subject: Re: [dpdk-dev] [PATCH] Add build option to enable/disable AVX2
> support
> 
> On Mon, Oct 26, 2020 at 03:30:27PM +0100, Felix Moessbauer wrote:
> > This patch introduces a meson option to disable the AVX2 support.
> > If the build should be for a target without AVX2 support, the know can
> > be turned to false, even if the compiler supports AVX2.
> >
> > Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
> > ---
> >  meson.build       | 3 ++-
> >  meson_options.txt | 1 +
> >  2 files changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/meson.build b/meson.build index 0ee98be..2e2380c 100644
> > --- a/meson.build
> > +++ b/meson.build
> > @@ -18,7 +18,8 @@ pktgen_conf = configuration_data()  cc =
> > meson.get_compiler('c')
> >
> >  add_project_arguments('-march=native', language: 'c') -if
> > cc.has_argument('-mavx2')
> > +
> > +if get_option('enable-avx2') and cc.has_argument('-mavx2')
> >  	add_project_arguments('-mavx2', language: 'c')  endif
> > add_project_arguments('-DALLOW_EXPERIMENTAL_API', language: 'c')
> 
> Hi,
> 
> This code does not appear in the upstream DPDK project [1]. This looks like a
> pktgen patch instead, is this the case? If so, please put pktgen somewhere in the
> patch title to make it easier to disposition.
> 
> Thanks,
> /Bruce
> 
> [1]
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit.dpdk.o
> rg%2Fdpdk%2Ftree%2Fmeson.build&amp;data=04%7C01%7Cfelix.moessbauer%
> 40siemens.com%7C141d2e3bc7e9428d2c3408d87a6e1046%7C38ae3bcd95794f
> d4addab42e1495d55a%7C1%7C0%7C637393960453313238%7CUnknown%7CT
> WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV
> CI6Mn0%3D%7C1000&amp;sdata=CxGRxOe4dTDQgMhQbCQdwMyYGBwbm%2
> FldUC2bmTHg2xE%3D&amp;reserved=0

             reply	other threads:[~2020-10-27 11:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-27 11:51 Moessbauer, Felix [this message]
2020-10-27 11:56 ` David Marchand

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=AM0PR10MB193918521CD63BAACAE5ECB089160@AM0PR10MB1939.EURPRD10.PROD.OUTLOOK.COM \
    --to=felix.moessbauer@siemens.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=henning.schild@siemens.com \
    --cc=keith.wiles@intel.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).