summaryrefslogtreecommitdiffstats
path: root/VNFs/vFW
diff options
context:
space:
mode:
authorAnand B Jyoti <anand.b.jyoti@intel.com>2017-07-14 07:24:40 +0530
committerAnand B Jyoti <anand.b.jyoti@intel.com>2017-07-14 09:01:43 +0530
commitadcb79da90176b27224eeb1d00aa0e611ef85a9b (patch)
treeb29f2da8a8505fb8784d486d8d757e2dec98ea8a /VNFs/vFW
parentb524f643258e8e2ae6d86482751e9f91a84b7318 (diff)
VNFs: Correcting default traffic_type to IPv4
JIRA: SAMPLEVNF-54 The default traffic_type value needs to be set to IPv4 instead of MIX type which is not supported. Change-Id: Ibe8ec31bc7a435fd97aaae0e9e664d0eb70ee30c Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
Diffstat (limited to 'VNFs/vFW')
-rw-r--r--VNFs/vFW/pipeline/pipeline_vfw_be.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/VNFs/vFW/pipeline/pipeline_vfw_be.c b/VNFs/vFW/pipeline/pipeline_vfw_be.c
index 97508a77..b659ee58 100644
--- a/VNFs/vFW/pipeline/pipeline_vfw_be.c
+++ b/VNFs/vFW/pipeline/pipeline_vfw_be.c
@@ -142,7 +142,7 @@ struct mbuf_tcp_meta_data {
#define IP_VERSION_4 4
#define IP_VERSION_6 6
-#define MIX 10
+
/* IPv6 */
#define IP_HDR_SIZE_IPV6 40
#define IP_HDR_DSCP_OFST_IPV6 0
@@ -2555,7 +2555,7 @@ static void
strncpy(pipe->name, params->name, sizeof(pipe->name));
pipe->log_level = params->log_level;
pipe_vfw->n_flows = 4096; /* small default value */
- pipe_vfw->traffic_type = MIX;
+ pipe_vfw->traffic_type = IP_VERSION_4;
pipe_vfw->pipeline_num = 0xff;
for (i = 0; i < PIPELINE_MAX_PORT_IN; i++) {
pipe_vfw->links_map[i] = 0xff;