diff options
author | Deepak S <deepak.s@linux.intel.com> | 2017-06-01 04:46:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-01 04:46:31 +0000 |
commit | 7c3d41940456132c801ecd30cfc7422066fab5fa (patch) | |
tree | 56e512cac21f3d1027632d3b3b233470b2077bb8 /VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c | |
parent | f3fb6d939337b4ff68fc60103634d46652587eca (diff) | |
parent | 10745be7adb099f559ba1b00b8d97fda59f75d62 (diff) |
Merge "[SAMPLEVNF] Adding support to handle more than 16 ports"
Diffstat (limited to 'VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c')
-rw-r--r-- | VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c b/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c index a7f10dbd..2da8b5e4 100644 --- a/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c +++ b/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.c @@ -101,7 +101,8 @@ struct rte_ct_cnxn_tracker *cgnat_cnxn_tracker; /***** Common Port Allocation declarations *****/ struct rte_ring *port_alloc_ring[MAX_CGNAPT_SETS] = { NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL }; + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL}; const char *napt_port_alloc_ring_name[MAX_CGNAPT_SETS] = { "NAPT_PORT_ALLOC_0 ", "NAPT_PORT_ALLOC_1 ", @@ -110,7 +111,15 @@ const char *napt_port_alloc_ring_name[MAX_CGNAPT_SETS] = { "NAPT_PORT_ALLOC_4 ", "NAPT_PORT_ALLOC_5 ", "NAPT_PORT_ALLOC_6 ", - "NAPT_PORT_ALLOC_7 " + "NAPT_PORT_ALLOC_7 ", + "NAPT_PORT_ALLOC_8 ", + "NAPT_PORT_ALLOC_9 ", + "NAPT_PORT_ALLOC_10 ", + "NAPT_PORT_ALLOC_11 ", + "NAPT_PORT_ALLOC_12 ", + "NAPT_PORT_ALLOC_13 ", + "NAPT_PORT_ALLOC_14 ", + "NAPT_PORT_ALLOC_16 " }; int vnf_set_count = -1; |