numam-dpdk/examples/ip_pipeline
Michael Qiu e281a8b610 examples/ip_pipeline: fix strict-aliasing
Compile ip_pipeline in CentOS 6.5 with kernel 2.6.32-431
GCC 4.4.7, will lead below error:

    pipeline_routing_be.c: In function ‘pipeline_routing_msg_req_arp_add_handler’:
    pipeline_routing_be.c:1817: error: dereferencing pointer ‘({anonymous})’
				does break strict-aliasing rules

This because the code break strict-aliasing rule.
The patch solve this issue.

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

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
2015-12-09 22:02:33 +01:00
..
config examples/ip_pipeline: move config files to separate directory 2015-07-09 17:25:46 +02:00
pipeline examples/ip_pipeline: fix strict-aliasing 2015-12-09 22:02:33 +01:00
app.h examples/ip_pipeline: check pipeline type 2015-12-07 02:35:56 +01:00
config_check.c examples/ip_pipeline: check queues 2015-12-07 02:35:56 +01:00
config_parse_tm.c examples/ip_pipeline: rework config file syntax 2015-07-09 17:25:45 +02:00
config_parse.c examples/ip_pipeline: fix build in old environments 2015-12-09 22:02:33 +01:00
cpu_core_map.c examples/ip_pipeline: rework config file syntax 2015-07-09 17:25:45 +02:00
cpu_core_map.h examples/ip_pipeline: rework config file syntax 2015-07-09 17:25:45 +02:00
init.c examples/ip_pipeline: fix coverity warnings 2015-12-09 22:02:33 +01:00
main.c examples/ip_pipeline: add more ports 2015-11-26 00:32:12 +01:00
Makefile examples/ip_pipeline: add flow actions pipeline 2015-12-07 02:35:56 +01:00
pipeline_be.h examples/ip_pipeline: add hex parsing 2015-11-26 00:45:50 +01:00
pipeline.h examples/ip_pipeline: reconfigure thread binding dynamically 2015-12-07 02:35:56 +01:00
thread_fe.c examples/ip_pipeline: fix coverity warnings 2015-12-09 22:02:33 +01:00
thread_fe.h examples/ip_pipeline: reconfigure thread binding dynamically 2015-12-07 02:35:56 +01:00
thread.c examples/ip_pipeline: reconfigure thread binding dynamically 2015-12-07 02:35:56 +01:00
thread.h examples/ip_pipeline: reconfigure thread binding dynamically 2015-12-07 02:35:56 +01:00