vFW: Increase max number of VFW instances from 12 to 24 47/36347/2
authorAnand B Jyoti <anand.b.jyoti@intel.com>
Wed, 21 Jun 2017 20:56:55 +0000 (02:26 +0530)
committerANAND B JYOTI <anand.b.jyoti@intel.com>
Thu, 22 Jun 2017 04:19:19 +0000 (04:19 +0000)
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 <anand.b.jyoti@intel.com>
VNFs/vFW/pipeline/pipeline_vfw_be.h

index 7e90c7c..cb41814 100644 (file)
@@ -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