From patchwork Wed Jul 15 19:53:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chenmin Sun X-Patchwork-Id: 74084 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 E2651A0545; Wed, 15 Jul 2020 12:56:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 466BB1BED0; Wed, 15 Jul 2020 12:56:36 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 0DAED1BEBC for ; Wed, 15 Jul 2020 12:56:34 +0200 (CEST) IronPort-SDR: GvYaoOJvOb9+O26Kpb6JcZsYQCdUYFCkhdoYUeZQYNzVowdpfXpWMrUtgpjSHun2ygMmFZ68aO yeqtn6qz7Rug== X-IronPort-AV: E=McAfee;i="6000,8403,9682"; a="137249737" X-IronPort-AV: E=Sophos;i="5.75,355,1589266800"; d="scan'208";a="137249737" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 03:56:34 -0700 IronPort-SDR: 1FQyR3IF2RsJ+DcsEb7GDlBwnY9K5HgjlErDzeLpGrcq9ahIgiJOzLR70RSJYFEvqVtQYPZfUp LPctxTPTOGJg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,355,1589266800"; d="scan'208";a="460026038" Received: from npg-dpdk-vpp-scm-1.sh.intel.com ([10.67.118.226]) by orsmga005.jf.intel.com with ESMTP; 15 Jul 2020 03:56:32 -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: Thu, 16 Jul 2020 03:53:25 +0800 Message-Id: <20200715195329.34699-1-chenmin.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200713222321.2118-1-chenmin.sun@intel.com> References: <20200713222321.2118-1-chenmin.sun@intel.com> Subject: [dpdk-dev] [PATCH V4 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 v4 1/4] net/i40e: introducing the fdir guaranteed/shared space tracking [PATCH v4 2/4] net/i40e: FDIR flow memory management optimization [PATCH v4 2/4] net/i40e: move the i40e_get_outer_vlan to where it real needed [PATCH v4 2/4] net/i40e: FDIR update rate optimization 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 | 85 ++++++++-- drivers/net/i40e/i40e_fdir.c | 284 ++++++++++++++++++++++++++------- drivers/net/i40e/i40e_flow.c | 108 +++++++++---- drivers/net/i40e/i40e_rxtx.c | 7 +- drivers/net/i40e/i40e_rxtx.h | 3 + 6 files changed, 509 insertions(+), 113 deletions(-)