Hi, Yigit
> -----Original Message----- > From: Yigit, Ferruh > Sent: Wednesday, December 21, 2016 1:25 AM > To: Zhao1, Wei <wei.zh...@intel.com>; dev@dpdk.org > Cc: Lu, Wenzhuo <wenzhuo...@intel.com> > Subject: Re: [dpdk-dev] [PATCH 16/18] net/ixgbe: create consistent filter > > On 12/2/2016 10:43 AM, Wei Zhao wrote: > > From: wei zhao1 <wei.zh...@intel.com> > > > > This patch adds a function to create the flow directory filter. > > > > Signed-off-by: wei zhao1 <wei.zh...@intel.com> > > Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com> > > <...> > > > +/** > > + * Create or destroy a flow rule. > > + * Theorically one rule can match more than one filters. > > + * We will let it use the filter which it hitt first. > > + * So, the sequence matters. > > + */ > > +struct ixgbe_flow * > > +ixgbe_flow_create(struct rte_eth_dev *dev, > > + const struct rte_flow_attr *attr, > > + const struct rte_flow_item pattern[], > > + const struct rte_flow_action actions[], > > + struct rte_flow_error *error) > > +{ > > + int ret; > > + struct rte_eth_ntuple_filter ntuple_filter; > <...> > > + error->type = ret; > > This also returns same ICC error, there are a few more same usage: > > .../drivers/net/ixgbe/ixgbe_ethdev.c(9764): error #188: enumerated type > mixed with another type > error->type = ret; > ^ > > > Thank you for warning, I will use ICC and gcc two kinds of tool to build my patch in v2 later.