On 1/12/2017 9:17 AM, Wei Zhao wrote: > Add rule validate function and check if the rule is a n-tuple rule, > and get the n-tuple info. > > Signed-off-by: Wei Zhao <wei.zh...@intel.com> > Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com> > --- <...> > /* Destroy all flow rules associated with a port on ixgbe. */ > static int > ixgbe_flow_flush(struct rte_eth_dev *dev, > @@ -99,15 +516,17 @@ ixgbe_flow_flush(struct rte_eth_dev *dev, > > ret = ixgbe_clear_all_fdir_filter(dev); > if (ret < 0) { > - rte_flow_error_set(error, EINVAL, RTE_FLOW_ERROR_TYPE_HANDLE, > - NULL, "Failed to flush rule"); > + rte_flow_error_set(error, EINVAL, > + RTE_FLOW_ERROR_TYPE_HANDLE, > + NULL, "Failed to flush rule"); > return ret; > } > > ret = ixgbe_clear_all_l2_tn_filter(dev); > if (ret < 0) { > - rte_flow_error_set(error, EINVAL, RTE_FLOW_ERROR_TYPE_HANDLE, > - NULL, "Failed to flush rule"); > + rte_flow_error_set(error, EINVAL, > + RTE_FLOW_ERROR_TYPE_HANDLE, > + NULL, "Failed to flush rule"); > return ret; > }
These are syntax modification to the updates added in previous patch. They can be fixed when they added at first place.