From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 74F74A04B5; Fri, 30 Oct 2020 11:52:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D026BC7F4; Fri, 30 Oct 2020 11:52:08 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 3DE61C7F0 for ; Fri, 30 Oct 2020 11:52:07 +0100 (CET) IronPort-SDR: +T6vR4vRf8QGJR+ZNZgHQcVcfVE/SMHXDG9v8TFHfE5T5kRDl76Rx7ZUh20guFUDlvhSLD4LMH zh+726oEylNg== X-IronPort-AV: E=McAfee;i="6000,8403,9789"; a="148444964" X-IronPort-AV: E=Sophos;i="5.77,432,1596524400"; d="scan'208";a="148444964" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2020 03:52:05 -0700 IronPort-SDR: TV+Y7/k1/mKQuGlwqbzTv7m+sw8F1eKA1IkowpvWANuTQ4uEA0HNY1Ck7TZ9D4mFnl9Y+9WpvZ WNlHF3IahHYw== X-IronPort-AV: E=Sophos;i="5.77,432,1596524400"; d="scan'208";a="537025192" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.252.23.197]) ([10.252.23.197]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2020 03:52:03 -0700 To: Jeff Guo , jingjing.wu@intel.com, qi.z.zhang@intel.com, beilei.xing@intel.com Cc: dev@dpdk.org, haiyue.wang@intel.com, bruce.richardson@intel.com References: <20200909025415.6185-1-jia.guo@intel.com> <20201030084030.66339-1-jia.guo@intel.com> From: Ferruh Yigit Message-ID: <39b05c19-794d-4ade-2fa2-34e36382b716@intel.com> Date: Fri, 30 Oct 2020 10:51:59 +0000 MIME-Version: 1.0 In-Reply-To: <20201030084030.66339-1-jia.guo@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v12] net/iavf: support flex desc metadata extraction 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/30/2020 8:40 AM, Jeff Guo wrote: > Enable metadata extraction for flexible descriptors in AVF, that would > allow network function directly get metadata without additional parsing > which would reduce the CPU cost for VFs. The enabling metadata > extractions involve the metadata of VLAN/IPv4/IPv6/IPv6-FLOW/TCP/MPLS > flexible descriptors, and the VF could negotiate the capability of > the flexible descriptor with PF and correspondingly configure the > specific offload at receiving queues. > > Signed-off-by: Jeff Guo > Acked-by: Haiyue Wang > --- > v12: > refine doc to be briefly > > v11: > update doc in .map and .rst > > v10: > delete the makefile configure and rename the dynamic mbuf name > > v9: > change the undef config > > v8: > rebase patch for apply issue > > v7: > clean some useless and add doc > > v6: > rebase patch > > v5: > remove ovs configure since ovs is not protocol extraction > > v4: > add flex desc type in rx queue for handling vector path > handle ovs flex type > > v3: > export these global symbols into .map > > v2: > remove makefile change and modify the rxdid handling > --- > doc/guides/nics/intel_vf.rst | 4 + > doc/guides/rel_notes/release_20_11.rst | 6 + > drivers/net/iavf/iavf.h | 24 +- > drivers/net/iavf/iavf_ethdev.c | 394 ++++++++++++++++++++++++ > drivers/net/iavf/iavf_rxtx.c | 252 +++++++++++++-- > drivers/net/iavf/iavf_rxtx.h | 169 +++++----- > drivers/net/iavf/iavf_rxtx_vec_common.h | 3 + > drivers/net/iavf/iavf_vchnl.c | 22 +- > drivers/net/iavf/meson.build | 2 + > drivers/net/iavf/rte_pmd_iavf.h | 250 +++++++++++++++ We should add this public header to the API documentation, if that is the only change I can do while merging. Something like: diff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-index.md index a9c12d1a2f..36f8ed7ba8 100644 --- a/doc/api/doxy-api-index.md +++ b/doc/api/doxy-api-index.md @@ -41,6 +41,7 @@ The public API headers are grouped by topics: [vhost] (@ref rte_vhost.h), [vdpa] (@ref rte_vdpa.h), [KNI] (@ref rte_kni.h), + [iavf] (@ref rte_pmd_iavf.h), [ixgbe] (@ref rte_pmd_ixgbe.h), [i40e] (@ref rte_pmd_i40e.h), [ice] (@ref rte_pmd_ice.h),