[dpdk-dev] [PATCH v5 11/18] net/ixgbe: parse n-tuple filter
Ferruh Yigit
ferruh.yigit at intel.com
Thu Jan 12 16:40:02 CET 2017
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.zhao1 at intel.com>
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu at 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.
More information about the dev
mailing list