numam-dpdk/examples/ip_pipeline
Anand B Jyoti 50c644fc1f examples/ip_pipeline: check VLAN and MPLS parameters
This commit add to CLI command check for the following errors
1. SVLAN and CVLAN IDs greater than 12 bits
2. MPLS ID greater than 20 bits
3. max number of supported MPLS labels to avoid array overflow

It prevents running CLI commands with invalid parameters.

Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2017-01-17 18:37:41 +01:00
..
config make python scripts PEP8 compliant 2017-01-04 21:12:58 +01:00
pipeline examples/ip_pipeline: check VLAN and MPLS parameters 2017-01-17 18:37:41 +01:00
app.h examples/ip_pipeline: fix build with gcc 6 2016-10-25 16:30:52 +02:00
config_check.c examples/ip_pipeline: add TAP port 2016-10-13 11:44:08 +02:00
config_parse_tm.c examples/ip_pipeline: fix buffer overrun 2015-12-13 02:39:19 +01:00
config_parse.c examples/ip_pipeline: add TAP port 2016-10-13 11:44:08 +02:00
cpu_core_map.c examples/ip_pipeline: fix lcore mapping for ppc64 2016-09-09 17:56:25 +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 build on BSD 2016-10-25 16:29:33 +02:00
main.c examples/ip_pipeline: add more ports 2015-11-26 00:32:12 +01:00
Makefile examples/ip_pipeline: remove useless makefile line 2017-01-17 18:21:11 +01:00
parser.c examples/ip_pipeline: add string parsing helpers 2016-06-08 16:45:05 +02:00
parser.h examples/ip_pipeline: add string parsing helpers 2016-06-08 16:45:05 +02:00
pipeline_be.h examples/ip_pipeline: add TAP port 2016-10-13 11:44:08 +02:00
pipeline.h examples/ip_pipeline: link routing output ports to devices 2016-06-08 21:36:04 +02:00
thread_fe.c examples/ip_pipeline: fix null pointer dereference 2016-06-14 21:09:29 +02:00
thread_fe.h examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00
thread.c examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00
thread.h examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00