On 12/2/2016 10:43 AM, Wei Zhao wrote: > From: wei zhao1 <wei.zh...@intel.com> > > 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 <wei.zh...@intel.com> > Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com> > --- > 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; ^