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 BEDC12C18 for ; Tue, 4 Apr 2017 02:40:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491266417; x=1522802417; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=OuiHD8PfAzqSGZHUJZUQsibqZbby5jQXRfruQNBL1n4=; b=gEhc67YIrtgSHTBDfpsgn4kBa3pzbzmbSKi4xqdskr0hpapBx85NAOyO mkDJ9eIcRRYHdxyi36/9j3HvMtnqCw==; Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2017 17:40:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,272,1486454400"; d="scan'208";a="83912263" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 03 Apr 2017 17:40:15 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 3 Apr 2017 17:40:15 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 3 Apr 2017 17:40:14 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.117]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.217]) with mapi id 14.03.0319.002; Tue, 4 Apr 2017 08:40:12 +0800 From: "Zhang, Qi Z" To: "Yigit, Ferruh" CC: "Wu, Jingjing" , "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [PATCH v6 1/3] net/i40e: enable per dev PTYPE mapping table Thread-Index: AQHSrGFBkLOYn5OmD0i5EvPvm3YlIKGy5pEAgAF4oFA= Date: Tue, 4 Apr 2017 00:40:11 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153081616@SHSMSX103.ccr.corp.intel.com> References: <20170403105155.38239-1-qi.z.zhang@intel.com> <20170403105155.38239-2-qi.z.zhang@intel.com> <14a3ae57-5fdf-ac4a-b94f-110f373c634b@intel.com> In-Reply-To: <14a3ae57-5fdf-ac4a-b94f-110f373c634b@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH v6 1/3] net/i40e: enable per dev PTYPE mapping table 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: Tue, 04 Apr 2017 00:40:17 -0000 > -----Original Message----- > From: Yigit, Ferruh > Sent: Monday, April 3, 2017 6:12 PM > To: Zhang, Qi Z > Cc: Wu, Jingjing ; Zhang, Helin > ; dev@dpdk.org > Subject: Re: [PATCH v6 1/3] net/i40e: enable per dev PTYPE mapping table >=20 > On 4/3/2017 11:51 AM, Qi Zhang wrote: > > The mapping from hardware defined packet type to software defined > > packet type is static for i40e device, the patch let each ethdev to to > > have their own copy of mapping table, this give the possibility that > > different ethdev can be set different PTYPE mapping rule which is the > > requirement to support following hardware's dynamic PTYPE feature. > > > > Signed-off-by: Qi Zhang > > --- > > v5: > > > > - Rebase to dpdk-next-net > > > > drivers/net/i40e/i40e_ethdev.c | 1 + > > drivers/net/i40e/i40e_ethdev.h | 5 +++++ > > drivers/net/i40e/i40e_ethdev_vf.c | 2 +- > > drivers/net/i40e/i40e_rxtx.c | 30 > ++++++++++++++++++++++-------- > > drivers/net/i40e/i40e_rxtx.h | 3 ++- > > drivers/net/i40e/i40e_rxtx_vec_neon.c | 8 +++++--- > > drivers/net/i40e/i40e_rxtx_vec_sse.c | 14 ++++++++------ >=20 > I40e PowerPC altivec vector PMD added recently, it is still only in next-= net, > should this patch update that file too? Will update. >=20 > Thanks, > ferruh