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 90E5E282 for ; Fri, 6 Jan 2017 18:26:35 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP; 06 Jan 2017 09:26:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,325,1477983600"; d="scan'208";a="50883009" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.38]) ([10.237.220.38]) by fmsmga006.fm.intel.com with ESMTP; 06 Jan 2017 09:26:32 -0800 To: Wei Zhao , dev@dpdk.org References: <1483084390-53159-1-git-send-email-wei.zhao1@intel.com> <1483084390-53159-17-git-send-email-wei.zhao1@intel.com> Cc: Wenzhuo Lu From: Ferruh Yigit Message-ID: <881b7663-a7d6-d0e8-4d94-f83343ad9c76@intel.com> Date: Fri, 6 Jan 2017 17:26:32 +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: <1483084390-53159-17-git-send-email-wei.zhao1@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 16/18] net/ixgbe: create consistent 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: Fri, 06 Jan 2017 17:26:36 -0000 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). > */ >