From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 5E75558EF for ; Mon, 28 Sep 2015 03:00:56 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 27 Sep 2015 18:00:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,600,1437462000"; d="scan'208";a="569513010" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 27 Sep 2015 18:00:55 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 27 Sep 2015 18:00:54 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.179]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.92]) with mapi id 14.03.0248.002; Mon, 28 Sep 2015 09:00:52 +0800 From: "Lu, Wenzhuo" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes Thread-Index: AQHQ91hHl2s5Zp1LBkiAnB1kqUohUJ5MSviAgACX+lD//4DRgIAEvkUw Date: Mon, 28 Sep 2015 01:00:52 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC090902091928@shsmsx102.ccr.corp.intel.com> References: <1443161125-1035-1-git-send-email-wenzhuo.lu@intel.com> <2216065.qpkPQE5WLk@xps13> <6A0DE07E22DDAD4C9103DF62FEBC090902091223@shsmsx102.ccr.corp.intel.com> <2029453.TNiofpvo9A@xps13> In-Reply-To: <2029453.TNiofpvo9A@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 01:00:56 -0000 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Friday, September 25, 2015 4:29 PM > To: Lu, Wenzhuo > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structur= es for > fdir new modes >=20 > 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 ma= tch. > > > */ > > > > + uint32_t tni_vni; /**< TNI or VNI to mat= ch. */ > > > > > > Isn't it Intel-specific? > > > > I think only the word "cloud" is specific. It's for VxLAN and NVGRE pac= kets. >=20 > 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_vn= i. Yes, you're right. I'll change it in V2. Thanks.