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 35F23A04B4; Fri, 8 Nov 2019 16:50:44 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E18A1C236; Fri, 8 Nov 2019 16:50:42 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id D67841C230 for ; Fri, 8 Nov 2019 16:50:40 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Nov 2019 07:50:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,281,1569308400"; d="scan'208";a="404493804" Received: from npg-dpdk-haiyue-1.sh.intel.com ([10.67.119.213]) by fmsmga006.fm.intel.com with ESMTP; 08 Nov 2019 07:50:38 -0800 From: Haiyue Wang To: xiaolong.ye@intel.com, dev@dpdk.org, ferruh.yigit@intel.com, thomas@monjalon.net, olivier.matz@6wind.com Cc: Haiyue Wang Date: Fri, 8 Nov 2019 23:44:33 +0800 Message-Id: <20191108154435.80841-1-haiyue.wang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191105011918.53434-1-haiyue.wang@intel.com> References: <20191105011918.53434-1-haiyue.wang@intel.com> Subject: [dpdk-dev] [PATCH v10 0/2] net/ice: optimize protocol extraction by dynamic mbuf API 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" v10: - Rename the exported variables with 'rte_net_ice' and 'RTE_'. Update the commit message, and separate patch for doxygen. v9: - Rename the dynamic filed and flags variables to _offs, _mask, so it matches the design. v8: - Cleanup the doxgen, rename the dynamic filed and flags with ice prefix. v7: - Change the log level from ERR to DEBUG for a successful registration, ERR is used to develop firstly. v6: - Don't need to register all flags when if one dev_args is set, register it as required. v5: - Remove the '_OL/_ol' in dynamic mbuf flag to make the variable clean. v4: - Include the 'rte_pmd_ice.h' header in ICE source as needed, reduce its compile scope. v3: - Use the conventions name "rte_net__dynfield_" since it is defined in a in PMD. - Add helpers API for easiy access. v2: - disable the protocol extraction if failed to register some ol_flags - rewrite the commit message Haiyue Wang (2): net/ice: optimize protocol extraction by dynamic mbuf API doc: add the ice PMD doxygen doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf.in | 1 + doc/guides/nics/ice.rst | 14 +- drivers/net/ice/ice_ethdev.c | 84 ++++++- drivers/net/ice/ice_ethdev.h | 9 + drivers/net/ice/ice_rxtx.c | 88 ++++--- drivers/net/ice/ice_rxtx.h | 1 - drivers/net/ice/rte_pmd_ice.h | 313 +++++++++++++++--------- drivers/net/ice/rte_pmd_ice_version.map | 12 + 9 files changed, 370 insertions(+), 153 deletions(-) -- 2.17.1