From 10745be7adb099f559ba1b00b8d97fda59f75d62 Mon Sep 17 00:00:00 2001 From: Deepak S Date: Wed, 31 May 2017 12:56:50 +0000 Subject: [SAMPLEVNF] Adding support to handle more than 16 ports This patch extends num_ports vnf can handle ports > 16 . This include changes in the memory allocatiion and size of different paramters Change-Id: Id8907327023ba863ad107bb874cfb60bd38daee5 Signed-off-by: Deepak S --- VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h') diff --git a/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h b/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h index c9b81fa8..94f19f1e 100644 --- a/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h +++ b/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h @@ -560,7 +560,7 @@ struct pub_ip_range { int create_napt_common_table(uint32_t nFlows); struct rte_mempool *napt_port_pool; -#define MAX_CGNAPT_SETS 8 +#define MAX_CGNAPT_SETS 16 /** * A structure defining a bulk port allocation element. -- cgit 1.2.3-korg