DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [memnic PATCH] pmd: enable compiler optimization
@ 2014-02-07 12:57 Olivier Matz
  2014-03-19 10:19 ` Hiroshi Shimamoto
  0 siblings, 1 reply; 3+ messages in thread
From: Olivier Matz @ 2014-02-07 12:57 UTC (permalink / raw)
  To: dev

Add -O3 in flags, it was missing in initial Makefile.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
 pmd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pmd/Makefile b/pmd/Makefile
index 7f96af1..c22f69f 100644
--- a/pmd/Makefile
+++ b/pmd/Makefile
@@ -39,7 +39,7 @@ O ?= .
 
 CC = $(CROSS)gcc
 override CPPFLAGS += -Wall -Wextra -Werror
-override CFLAGS   += -fPIC
+override CFLAGS   += -fPIC -O3
 override LDFLAGS  += -shared
 
 prefix ?= /usr/local
-- 
1.8.5.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [memnic PATCH] pmd: enable compiler optimization
  2014-02-07 12:57 [dpdk-dev] [memnic PATCH] pmd: enable compiler optimization Olivier Matz
@ 2014-03-19 10:19 ` Hiroshi Shimamoto
  2014-03-21 15:00   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Hiroshi Shimamoto @ 2014-03-19 10:19 UTC (permalink / raw)
  To: Olivier Matz, dev

Hi,

this makes sense.

> Subject: [dpdk-dev] [memnic PATCH] pmd: enable compiler optimization
> 
> Add -O3 in flags, it was missing in initial Makefile.
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

Acked-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>

thanks,
Hiroshi

> ---
>  pmd/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pmd/Makefile b/pmd/Makefile
> index 7f96af1..c22f69f 100644
> --- a/pmd/Makefile
> +++ b/pmd/Makefile
> @@ -39,7 +39,7 @@ O ?= .
> 
>  CC = $(CROSS)gcc
>  override CPPFLAGS += -Wall -Wextra -Werror
> -override CFLAGS   += -fPIC
> +override CFLAGS   += -fPIC -O3
>  override LDFLAGS  += -shared
> 
>  prefix ?= /usr/local
> --
> 1.8.5.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [memnic PATCH] pmd: enable compiler optimization
  2014-03-19 10:19 ` Hiroshi Shimamoto
@ 2014-03-21 15:00   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2014-03-21 15:00 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev

19/03/2014 10:19, Hiroshi Shimamoto :
> Hi,
> 
> this makes sense.
> 
> > Subject: [dpdk-dev] [memnic PATCH] pmd: enable compiler optimization
> > 
> > Add -O3 in flags, it was missing in initial Makefile.
> > 
> > Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> 
> Acked-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>

Applied.

Thank you
-- 
Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-21 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 12:57 [dpdk-dev] [memnic PATCH] pmd: enable compiler optimization Olivier Matz
2014-03-19 10:19 ` Hiroshi Shimamoto
2014-03-21 15:00   ` Thomas Monjalon

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).