From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Iremonger Subject: [PATCH v2 3/6] librte_ether: initialise IPv4 protocol mask for rte_flow Date: Fri, 25 Aug 2017 17:10:35 +0100 Message-ID: <1503677438-27591-4-git-send-email-bernard.iremonger@intel.com> References: <1503496275-27492-1-git-send-email-bernard.iremonger@intel.com> Cc: Bernard Iremonger To: dev@dpdk.org, ferruh.yigit@intel.com, konstantin.ananyev@intel.com, cristian.dumitrescu@intel.com, adrien.mazarguil@6wind.com Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id EC2217D63 for ; Fri, 25 Aug 2017 18:10:52 +0200 (CEST) In-Reply-To: <1503496275-27492-1-git-send-email-bernard.iremonger@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Initialise the next_proto_id mask in the default mask for rte_flow_item_type_ipv4. Signed-off-by: Bernard Iremonger --- lib/librte_ether/rte_flow.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h index bba6169..59c42fa 100644 --- a/lib/librte_ether/rte_flow.h +++ b/lib/librte_ether/rte_flow.h @@ -489,6 +489,7 @@ struct rte_flow_item_ipv4 { #ifndef __cplusplus static const struct rte_flow_item_ipv4 rte_flow_item_ipv4_mask = { .hdr = { + .next_proto_id = 0xff, .src_addr = RTE_BE32(0xffffffff), .dst_addr = RTE_BE32(0xffffffff), }, -- 1.9.1