DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] ip_pipeline: fix build error for 32 bit gcc target
@ 2016-04-08 17:13 Jasvinder Singh
  2016-04-08 17:53 ` De Lara Guarch, Pablo
  2016-04-08 19:37 ` Mcnamara, John
  0 siblings, 2 replies; 4+ messages in thread
From: Jasvinder Singh @ 2016-04-08 17:13 UTC (permalink / raw)
  To: dev

error log:
ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is
too large for 'long' type compilation terminated due to -Wfatal-errors

Fixes: 0ae7275810f1 ("examples/ip_pipeline: add more functions to routing pipeline")

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
---
 examples/ip_pipeline/pipeline/pipeline_routing_be.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ip_pipeline/pipeline/pipeline_routing_be.c b/examples/ip_pipeline/pipeline/pipeline_routing_be.c
index 431c636..bc5bf7a 100644
--- a/examples/ip_pipeline/pipeline/pipeline_routing_be.c
+++ b/examples/ip_pipeline/pipeline/pipeline_routing_be.c
@@ -65,7 +65,7 @@
 	((((uint64_t) (pipe)) & 0xFFFFFFFF) << 32))
 
 
-#define MAC_SRC_DEFAULT 0x112233445566
+#define MAC_SRC_DEFAULT 0x112233445566ULL
 
 #ifndef PIPELINE_ROUTING_LPM_TABLE_NUMBER_TABLE8s
 #define PIPELINE_ROUTING_LPM_TABLE_NUMBER_TABLE8s 256
-- 
2.5.5

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

* Re: [dpdk-dev] [PATCH] ip_pipeline: fix build error for 32 bit gcc target
  2016-04-08 17:13 [dpdk-dev] [PATCH] ip_pipeline: fix build error for 32 bit gcc target Jasvinder Singh
@ 2016-04-08 17:53 ` De Lara Guarch, Pablo
  2016-04-08 20:17   ` Thomas Monjalon
  2016-04-08 19:37 ` Mcnamara, John
  1 sibling, 1 reply; 4+ messages in thread
From: De Lara Guarch, Pablo @ 2016-04-08 17:53 UTC (permalink / raw)
  To: Singh, Jasvinder, dev



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jasvinder Singh
> Sent: Friday, April 08, 2016 6:13 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] ip_pipeline: fix build error for 32 bit gcc target
> 
> error log:
> ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is
> too large for 'long' type compilation terminated due to -Wfatal-errors
> 
> Fixes: 0ae7275810f1 ("examples/ip_pipeline: add more functions to routing
> pipeline")
> 
> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>

Acked-by:Pablo de Lara <pablo.de.lara.guarch@intel.com>

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

* Re: [dpdk-dev] [PATCH] ip_pipeline: fix build error for 32 bit gcc target
  2016-04-08 17:13 [dpdk-dev] [PATCH] ip_pipeline: fix build error for 32 bit gcc target Jasvinder Singh
  2016-04-08 17:53 ` De Lara Guarch, Pablo
@ 2016-04-08 19:37 ` Mcnamara, John
  1 sibling, 0 replies; 4+ messages in thread
From: Mcnamara, John @ 2016-04-08 19:37 UTC (permalink / raw)
  To: Singh, Jasvinder, dev

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jasvinder Singh
> Sent: Friday, April 8, 2016 6:13 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] ip_pipeline: fix build error for 32 bit gcc
> target
> 
> error log:
> ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is too
> large for 'long' type compilation terminated due to -Wfatal-errors
> 
> Fixes: 0ae7275810f1 ("examples/ip_pipeline: add more functions to routing
> pipeline")
> 
> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>

Acked-by: John McNamara <john.mcnamara@intel.com>

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

* Re: [dpdk-dev] [PATCH] ip_pipeline: fix build error for 32 bit gcc target
  2016-04-08 17:53 ` De Lara Guarch, Pablo
@ 2016-04-08 20:17   ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2016-04-08 20:17 UTC (permalink / raw)
  To: Singh, Jasvinder; +Cc: dev, De Lara Guarch, Pablo

> > error log:
> > ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is
> > too large for 'long' type compilation terminated due to -Wfatal-errors
> > 
> > Fixes: 0ae7275810f1 ("examples/ip_pipeline: add more functions to routing
> > pipeline")
> > 
> > Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
> 
> Acked-by:Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied, thanks

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

end of thread, other threads:[~2016-04-08 20:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-08 17:13 [dpdk-dev] [PATCH] ip_pipeline: fix build error for 32 bit gcc target Jasvinder Singh
2016-04-08 17:53 ` De Lara Guarch, Pablo
2016-04-08 20:17   ` Thomas Monjalon
2016-04-08 19:37 ` Mcnamara, John

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