diff options
author | Anand B Jyoti <anand.b.jyoti@intel.com> | 2017-07-14 07:24:40 +0530 |
---|---|---|
committer | Anand B Jyoti <anand.b.jyoti@intel.com> | 2017-07-14 09:01:43 +0530 |
commit | adcb79da90176b27224eeb1d00aa0e611ef85a9b (patch) | |
tree | b29f2da8a8505fb8784d486d8d757e2dec98ea8a /VNFs/vACL | |
parent | b524f643258e8e2ae6d86482751e9f91a84b7318 (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/vACL')
-rw-r--r-- | VNFs/vACL/pipeline/pipeline_acl_be.c | 2 | ||||
-rw-r--r-- | VNFs/vACL/pipeline/pipeline_acl_be.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/VNFs/vACL/pipeline/pipeline_acl_be.c b/VNFs/vACL/pipeline/pipeline_acl_be.c index 039d6d59..77f1784c 100644 --- a/VNFs/vACL/pipeline/pipeline_acl_be.c +++ b/VNFs/vACL/pipeline/pipeline_acl_be.c @@ -3177,7 +3177,7 @@ static void *pipeline_acl_init(struct pipeline_params *params, * p_acl->links_map[0] = 0xff; * p_acl->links_map[1] = 0xff;] */ - p_acl->traffic_type = MIX; + p_acl->traffic_type = IPv4_HDR_VERSION; for (i = 0; i < PIPELINE_MAX_PORT_IN; i++) { p_acl->links_map[i] = 0xff; p_acl->port_out_id[i] = 0xff; diff --git a/VNFs/vACL/pipeline/pipeline_acl_be.h b/VNFs/vACL/pipeline/pipeline_acl_be.h index 8c85d888..bbb20e82 100644 --- a/VNFs/vACL/pipeline/pipeline_acl_be.h +++ b/VNFs/vACL/pipeline/pipeline_acl_be.h @@ -44,7 +44,6 @@ enum pipeline_acl_key_type { #define IP_HDR_DST_ADR_OFST 16 #define IP_VERSION_4 4 #define IP_VERSION_6 6 -#define MIX 10 /* IPv6 */ #define IP_HDR_SIZE_IPV6 40 |