From: Anand B Jyoti Date: Wed, 21 Jun 2017 20:56:55 +0000 (+0530) Subject: vFW: Increase max number of VFW instances from 12 to 24 X-Git-Tag: v1.0.1~5 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F36347%2F2;p=samplevnf.git vFW: Increase max number of VFW instances from 12 to 24 JIRA: SAMPLEVNF-41 Next generation platforms require more than 12 instances of VFW to support more number of ports and throughout. Increasing the max instances from 12 to 24 to support upto 200Gbps in next generation platforms. Change-Id: Ice4f84dfd4a96b84e7e5ef00349892d08e1d2348 Signed-off-by: Anand B Jyoti --- diff --git a/VNFs/vFW/pipeline/pipeline_vfw_be.h b/VNFs/vFW/pipeline/pipeline_vfw_be.h index 7e90c7ce..cb418148 100644 --- a/VNFs/vFW/pipeline/pipeline_vfw_be.h +++ b/VNFs/vFW/pipeline/pipeline_vfw_be.h @@ -40,7 +40,7 @@ extern uint8_t firewall_flag; extern uint8_t cnxn_tracking_is_active; #define KEY_SIZE 10 /*IPV4 src_ip + dst_ip + src_port + dst_port */ #define IP_32BIT_SIZE 4 -#define MAX_VFW_INSTANCES 12 /* max number fw threads, actual usually less */ +#define MAX_VFW_INSTANCES 24 /* max number fw threads, actual usually less */ #define IPv4_HDR_VERSION 4 #define IPv6_HDR_VERSION 6 #define IP_VERSION_CHECK 4