From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 11/18] net/ixgbe: parse n-tuple filter Date: Tue, 20 Dec 2016 17:23:23 +0000 Message-ID: References: <1480675394-59179-1-git-send-email-wei.zhao1@intel.com> <1480675394-59179-12-git-send-email-wei.zhao1@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: wenzhuo.lu@intel.com To: Wei Zhao , dev@dpdk.org Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id A4DCCFBEC for ; Tue, 20 Dec 2016 18:23:26 +0100 (CET) In-Reply-To: <1480675394-59179-12-git-send-email-wei.zhao1@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" On 12/2/2016 10:43 AM, Wei Zhao wrote: > From: wei zhao1 > > Add rule validate function and check if the rule is a n-tuple rule, > and get the n-tuple info. > > Signed-off-by: wei zhao1 > Signed-off-by: Wenzhuo Lu > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 349 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 349 insertions(+) <...> > + */ > +static enum rte_flow_error_type > +cons_parse_ntuple_filter(const struct rte_flow_attr *attr, > + const struct rte_flow_item pattern[], > + const struct rte_flow_action actions[], > + struct rte_eth_ntuple_filter *filter) > +{ <...> > + > + return 0; This gives build error [1] with ICC, there are a few same usage, return type is enum but returning an int. [1] /tmp/dpdk_maintain/ixgbe_flow/dpdk/drivers/net/ixgbe/ixgbe_ethdev.c(8432): error #188: enumerated type mixed with another type return 0; ^