From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2 16/18] net/ixgbe: create consistent filter Date: Fri, 6 Jan 2017 17:26:32 +0000 Message-ID: <881b7663-a7d6-d0e8-4d94-f83343ad9c76@intel.com> References: <1483084390-53159-1-git-send-email-wei.zhao1@intel.com> <1483084390-53159-17-git-send-email-wei.zhao1@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Wenzhuo Lu To: Wei Zhao , dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 90E5E282 for ; Fri, 6 Jan 2017 18:26:35 +0100 (CET) In-Reply-To: <1483084390-53159-17-git-send-email-wei.zhao1@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 12/30/2016 7:53 AM, Wei Zhao wrote: > This patch adds a function to create the flow directory filter. > > Signed-off-by: Wei Zhao > Signed-off-by: Wenzhuo Lu > > --- > > v2: > --add new error set function > --- <...> > > +struct ixgbe_flow { > + enum rte_filter_type filter_type; > + void *rule; > +}; It is possible to rename this struct to rte_flow, to prevent casting. Although functionally there is no difference. > + > /* > * Structure to store private data for each driver instance (for each port). > */ >