From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes Date: Fri, 25 Sep 2015 10:29:23 +0200 Message-ID: <2029453.TNiofpvo9A@xps13> References: <1443161125-1035-1-git-send-email-wenzhuo.lu@intel.com> <2216065.qpkPQE5WLk@xps13> <6A0DE07E22DDAD4C9103DF62FEBC090902091223@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Lu, Wenzhuo" Return-path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id DF66D56B7 for ; Fri, 25 Sep 2015 10:30:32 +0200 (CEST) Received: by wicge5 with SMTP id ge5so10236376wic.0 for ; Fri, 25 Sep 2015 01:30:31 -0700 (PDT) In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC090902091223@shsmsx102.ccr.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-09-25 08:14, Lu, Wenzhuo: > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > > +/** > > > + * A structure used to define the input for VxLAN NVGRE flow */ > > > +struct rte_eth_cloud_flow { > > > + enum rte_eth_fdir_tunnel_type tunnel_type; /**< Tunnel type to match. > > */ > > > + uint32_t tni_vni; /**< TNI or VNI to match. */ > > > > Isn't it Intel-specific? > > I think only the word "cloud" is specific. It's for VxLAN and NVGRE packets. If someone else wants to use it for another kind of tunnel (neither VXLAN neither NVGRE), identifier or tunnel_id would be more generic than tni_vni.