From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 05DB52C6B for ; Wed, 12 Apr 2017 10:36:45 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Apr 2017 01:36:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,189,1488873600"; d="scan'208";a="88099033" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.122]) ([10.237.220.122]) by fmsmga006.fm.intel.com with ESMTP; 12 Apr 2017 01:36:43 -0700 To: Qi Zhang , jingjing.wu@intel.com, helin.zhang@intel.com Cc: jianbo.liu@linaro.org, chaozhu@linux.vnet.ibm.com, dev@dpdk.org References: <20170404015516.7784-1-qi.z.zhang@intel.com> <20170407032505.61691-1-qi.z.zhang@intel.com> <20170407032505.61691-3-qi.z.zhang@intel.com> From: Ferruh Yigit Message-ID: Date: Wed, 12 Apr 2017 09:36:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <20170407032505.61691-3-qi.z.zhang@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v8 2/3] net/i40e: configurable PTYPE mapping 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: Wed, 12 Apr 2017 08:36:46 -0000 On 4/7/2017 4:25 AM, Qi Zhang wrote: > The patch adds 4 APIs to support configurable > PTYPE mapping for i40e device. > rte_pmd_i40e_ptype_mapping_get. > rte_pmd_i40e_ptype_mapping_replace. > rte_pmd_i40e_ptype_mapping_reset. > rte_pmd_i40e_ptype_mapping_update. > The mapping from hardware defined packet type to software defined packet > type can be updated/reset/read out with these APIs. > Also a software ptype with the most significent bit set will be regarded > as a user defined ptype (RTE_PMD_I40E_PTYPE_USER_DEFINE_MASK) so > application can use it to defined its own PTYPE naming system. > > Signed-off-by: Qi Zhang > --- > > v5: > > - Rebase to dpdk-next-net > > v4: > > - Add comment to explain the "user defined" ptype. > > v2: > > - Rename APIs to rte_pmd_i40e_ptype_mapping_xxx > > - Add missing API declaration in rte_pmd_i40e_version.map > > - Add missing PTYPE in check_invalid_pkt_type > > - Fix couple typo error > > drivers/net/i40e/i40e_ethdev.c | 229 ++++++++++++++++++++++++++++++ Hi Qi, These functions now needs to be moved to "rte_pmd_i40e.c". Can you please rebase patch on top of latest next-net? Thanks, ferruh