From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 229A02B9B for ; Mon, 3 Apr 2017 12:11:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491214318; x=1522750318; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=kysPLzh9JtA0ArMqIVCEogJWf/pn/6PesO2gQ6YSA2c=; b=TPhmmADuO+ZiVySDsKpPpWTroz4JUOf7n5tcf/szlZmdbOe7kglsPFOy tXHTSZlkCDW+vna2SxilflFjGMuzUw==; Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2017 03:11:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,269,1486454400"; d="scan'208";a="83988057" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.122]) ([10.237.220.122]) by fmsmga006.fm.intel.com with ESMTP; 03 Apr 2017 03:11:55 -0700 To: Qi Zhang References: <20170403105155.38239-1-qi.z.zhang@intel.com> <20170403105155.38239-2-qi.z.zhang@intel.com> Cc: jingjing.wu@intel.com, helin.zhang@intel.com, dev@dpdk.org From: Ferruh Yigit Message-ID: <14a3ae57-5fdf-ac4a-b94f-110f373c634b@intel.com> Date: Mon, 3 Apr 2017 11:11:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170403105155.38239-2-qi.z.zhang@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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: Mon, 03 Apr 2017 10:11:58 -0000 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 ++++++++------ I40e PowerPC altivec vector PMD added recently, it is still only in next-net, should this patch update that file too? Thanks, ferruh