From patchwork Fri Jul 17 17:19:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chenmin Sun X-Patchwork-Id: 74290 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A14D1A0528; Fri, 17 Jul 2020 10:23:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CDAC11BF5E; Fri, 17 Jul 2020 10:23:13 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 62BE11BF46 for ; Fri, 17 Jul 2020 10:23:12 +0200 (CEST) IronPort-SDR: 3q1wuA0myQvV6sY14d5l/TYllO5ndrLggFDwj8Sxtum720NW3cHKJuj/M2puPaS1f6TdzSdmiB 2bLgaN2SSy3Q== X-IronPort-AV: E=McAfee;i="6000,8403,9684"; a="148714428" X-IronPort-AV: E=Sophos;i="5.75,362,1589266800"; d="scan'208";a="148714428" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2020 01:23:10 -0700 IronPort-SDR: WNuw7q+rFaF3GQEKVXl6bRVp7ir9rAgjf34PVOJ+I4xr0WGTyMPiZKw0F7xFDEjKx8Af3GR/cE X1VnPccJfUOA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,362,1589266800"; d="scan'208";a="460777119" Received: from npg-dpdk-vpp-scm-1.sh.intel.com ([10.67.118.226]) by orsmga005.jf.intel.com with ESMTP; 17 Jul 2020 01:23:08 -0700 From: chenmin.sun@intel.com To: qi.z.zhang@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com, haiyue.wang@intel.com Cc: dev@dpdk.org, chenmin.sun@intel.com Date: Sat, 18 Jul 2020 01:19:55 +0800 Message-Id: <20200717171959.44998-1-chenmin.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200715195329.34699-1-chenmin.sun@intel.com> References: <20200715195329.34699-1-chenmin.sun@intel.com> Subject: [dpdk-dev] [PATCH v5 0/4] i40e FDIR update rate optimization 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" From: Chenmin Sun [PATCH v5 1/4] net/i40e: introducing the fdir guaranteed/shared space tracking [PATCH v5 2/4] net/i40e: FDIR flow memory management optimization [PATCH v5 2/4] net/i40e: move the i40e_get_outer_vlan to where it real needed [PATCH v5 2/4] net/i40e: FDIR update rate optimization v5: * Remove duplicated macro definition * Replace multiplication and division with bitwise operators v4: * Split the patch to 4 * New two functions for fdir mempool get/put. * Rewrite function i40e_find_available_buffer(). * Move the fdir space tracking logic to i40e_flow_add_del_fdir_filter(). v3: * Split the patch into two. * Renamed some data structures and added some descriptions. v2: * Refine commit message and code comments. * Refine code style. * Fixed several memory free bugs. * Replace the bin_serch() with rte_bsf64() Chenmin Sun (4): net/i40e: introducing the fdir space tracking net/i40e: FDIR flow memory management optimization net/i40e: move the i40e_get_outer_vlan to where it real needed net/i40e: FDIR update rate optimization drivers/net/i40e/i40e_ethdev.c | 135 +++++++++++++++- drivers/net/i40e/i40e_ethdev.h | 83 ++++++++-- drivers/net/i40e/i40e_fdir.c | 271 ++++++++++++++++++++++++++------- drivers/net/i40e/i40e_flow.c | 108 +++++++++---- drivers/net/i40e/i40e_rxtx.c | 7 +- drivers/net/i40e/i40e_rxtx.h | 3 + 6 files changed, 494 insertions(+), 113 deletions(-)