From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4D78EB3C7 for ; Wed, 13 Aug 2014 10:21:08 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 13 Aug 2014 01:24:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,855,1400050800"; d="scan'208";a="584183906" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 13 Aug 2014 01:24:06 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 13 Aug 2014 01:24:05 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 13 Aug 2014 01:24:05 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.198]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.219]) with mapi id 14.03.0195.001; Wed, 13 Aug 2014 16:23:48 +0800 From: "Liu, Jijiang" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH 3/6]i40e:Add VxLAN Cloud filter API Thread-Index: AQHPthnbBW8GSJo8uUubBoAKYFc+/pvOMSQQ Date: Wed, 13 Aug 2014 08:23:47 +0000 Message-ID: <1ED644BD7E0A5F4091CF203DAFB8E4CC01D5FCDE@SHSMSX101.ccr.corp.intel.com> References: <1407813127-10991-1-git-send-email-jijiang.liu@intel.com> <1407813127-10991-4-git-send-email-jijiang.liu@intel.com> <1875158.2CzkkyWnXV@xps13> In-Reply-To: <1875158.2CzkkyWnXV@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 3/6]i40e:Add VxLAN Cloud filter API 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: Wed, 13 Aug 2014 08:21:08 -0000 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Tuesday, August 12, 2014 6:40 PM > To: Liu, Jijiang > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 3/6]i40e:Add VxLAN Cloud filter API >=20 > Hi Jijiang, >=20 > 2014-08-12 11:12, Jijiang Liu: > > Support VxLAN cloud filters,which is used to use MAC, VLAN to point > > to a queue. The filter types supported include below: > > 1. Inner MAC and Inner VLAN ID > > 2. Inner MAC address and inner VLAN ID, tenned ID. > > 3. Inner MAC and tenant ID > > 4. Inner MAC address > > 5. Outer MAC address, tenant ID and inner MAC > > > > Signed-off-by: jijiangl > > Acked-by: Helin Zhang > > Acked-by: Jingjing Wu > > Acked-by: Jing Chen > > --- > > lib/librte_ether/rte_ethdev.c | 50 ++++++++++++++++ > > lib/librte_ether/rte_ethdev.h | 72 ++++++++++++++++++++++++ > > lib/librte_pmd_i40e/i40e_ethdev.c | 112 > > +++++++++++++++++++++++++++++++++++++ > > 3 files changed, 234 insertions(+), 0 deletions(-) >=20 > I prefer to have a separated commit for API (ethdev) and another one for > implementation (i40e). >=20 > About API, why name it cloud filter instead of VxLAN? >=20 Ok, I can separate the commit into two patches. VxLAN is just a kind tunnel type, there are another tunnel types based on p= rotocol type, they are below. Tunnel Type: * 0x0: VXLAN * 0x1: NVGRE or other MAC in GRE * 0x2: Geneve 0x3: IP in GRE Currently, I just implemented VxLAN tunnel type, and we will support anothe= r tunnel types in cloud filter API later.