From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 55D41558D for ; Thu, 12 Jan 2017 16:40:05 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP; 12 Jan 2017 07:40:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,219,1477983600"; d="scan'208";a="52235318" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.38]) ([10.237.220.38]) by orsmga005.jf.intel.com with ESMTP; 12 Jan 2017 07:40:03 -0800 To: Wei Zhao , dev@dpdk.org References: <1484210439-61746-1-git-send-email-wei.zhao1@intel.com> <1484212665-1635-1-git-send-email-wei.zhao1@intel.com> <1484212665-1635-12-git-send-email-wei.zhao1@intel.com> Cc: Wenzhuo Lu From: Ferruh Yigit Message-ID: <400f34e5-1984-f104-b8d0-f1b0c27ca884@intel.com> Date: Thu, 12 Jan 2017 15:40:02 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <1484212665-1635-12-git-send-email-wei.zhao1@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v5 11/18] net/ixgbe: parse n-tuple filter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 15:40:05 -0000 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 > Signed-off-by: Wenzhuo Lu > --- <...> > /* 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.