From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B96D2A0032; Tue, 16 Nov 2021 16:44:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83F9541161; Tue, 16 Nov 2021 16:44:29 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 9F88A40141 for ; Tue, 16 Nov 2021 16:44:27 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="213749431" X-IronPort-AV: E=Sophos;i="5.87,239,1631602800"; d="scan'208";a="213749431" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2021 07:43:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,239,1631602800"; d="scan'208";a="735587217" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga005.fm.intel.com with ESMTP; 16 Nov 2021 07:43:45 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 16 Nov 2021 07:43:45 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 16 Nov 2021 07:43:45 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.173) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 16 Nov 2021 07:43:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KMecJWq8l4E4IclMgYXuczpWQxW1S1153OF4ntWKHO0CV9epSK42hWQkwsRZQ950mtkiH7IBe3vO5sHhJrTz6yndhlEHhZwUV4XkYCoN34q49tVrMLbcLdebt7h78CzcNWgN7bRriaw166aAstCE/vj5nfSjYA/sIB03SVc4nJT6Sm8Go1slq24GbmQYCzoIxyehRWDZlNrmGYRyYaKyp1so6n4ZGb3yvGzBnlPIQ3tCzhYazgFAEiJlJkUW+/cNLJ/GMQyMDT9GJLkAFaiWnwo0P/1qXNaflx59K7p3qr3WDIh0FfU2++pSzHiH9oO2E6kDKSpVCRhWi66bI63Bgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wDSfxZOYeEcghakXyUUrR85Do1ul0LVgAxEt75w7B8k=; b=QOFZ9I8a49MvpT98qUA2/6PrcTHctNTxFSXnD5Mut0ynPHZuYK5RAle0yQa6eLce2PWUB9JBNod0bRHVMPe0d/Kr1HtvFc8QxZ0SLAZ8tkKmwzTSPsxkX3rDA7ixHTKC/l1awlPP2p2dh46XverTQzEoHYnrkcQQlcsASvqp6TaPz7QKKojR3Ucj7GJxNlE9MEVvzm0Wx5eg6G9X2hxCG2m+Ou944/zwSciST8rFD+rnULZMxAkNKEwcQhUb4aOHexLiwfkIP3/B2NUedBVuYvz2EjBRYSeOyqmTq9N3PCVll0p8RKJfr6NS9BhP76b1IT1M7ocQXI47mqMU53Eaug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wDSfxZOYeEcghakXyUUrR85Do1ul0LVgAxEt75w7B8k=; b=dAZP5FJcS/AjFq1gddw8VUEVoGlPtooM6TMaggP77x8L+wzZD6+Ndwrl321qhJSncv5MLKUxHVfOztNVhX7Ow9IFQO2QTBagiY7dfH9feW+t+fgajKOFE98ErtkMItBPFA1Gk7TyvKzt+24SSV5GqgMpgT1QgxRVinNBktAVLpk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5080.namprd11.prod.outlook.com (2603:10b6:510:3f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15; Tue, 16 Nov 2021 15:43:43 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c%5]) with mapi id 15.20.4690.027; Tue, 16 Nov 2021 15:43:43 +0000 Message-ID: <65cf94a1-493b-2557-065c-a556c064ac57@intel.com> Date: Tue, 16 Nov 2021 15:43:38 +0000 Subject: Re: [PATCH v2 0/2] performance optimized for hns3 PMD Content-Language: en-US To: "Min Hu (Connor)" , Chengwen Feng CC: , References: <20211111133859.13705-1-humin29@huawei.com> <20211116012212.64819-1-humin29@huawei.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211116012212.64819-1-humin29@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB7PR05CA0020.eurprd05.prod.outlook.com (2603:10a6:10:36::33) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB7PR05CA0020.eurprd05.prod.outlook.com (2603:10a6:10:36::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Tue, 16 Nov 2021 15:43:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f02dc173-f4c9-4338-0c7b-08d9a917de9f X-MS-TrafficTypeDiagnostic: PH0PR11MB5080: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:669; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L7KVoLofvTYMFLV+EhlLEHqK+8FWAGT5TiFs7XQSFZoz/AXpA63Z+ULg9qq1/9KPJW8UNVsR25ceAXqYnXGiEoXNxxAgNypKBKEqgfhqLvLJDnH0q0xdLHt3HQiOYewE8FWJAETSf+cIrQehQyvzcQliWc9B1Z1E1/mucKedb9fAhXI3QTNoMihWhimT0FwjPV5+7tRGmK3s3cIfPSsPL2eNdjA0froAdVctmNbOseQgGb6khPb3q5GEVF+sibE5XKWCKTnA4YOCav8p83zHm3ZvTIPQESzevk5oZeVZVH9lKhvkc8SSGiPNDFkY6IpQm4kUgnk196p0xycXtZyhXj0XhPmLFfWAj017Cnqbxwbo+XRYOuDhYtkk99YI8W3rAQUpPY4D0hndxcgHX/QcRiYW/JHaoirZHZsyni4vNN8z0EAC4LCdfdtMGPM0IZUL3p3URvhGvSFlDEbuYi9zJLwtP5Ou2TFY6Ign47w6702rNxlPpH9LoCPA6UQ8wR8XgkfbW+eFXHc/bQQfIgUs6nQqiOIjSKmcq2oIom8yr0XzUPqOryPZ/iLK8e1uSgUOQpRxIlmpZd8g8sSvwtehS/knDF1Qq8cl179x4pUV0zwFw4bZ7M/viVEsVictPIQtzWurXDQlafgRPd2J6I62EvVn/R18M8OJwVnd35SQ7Qbv7DySN3aBzfMkbbQ/EYQFWyZAdu2lBF8Dcb5fdIudlA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(316002)(110136005)(956004)(508600001)(8936002)(83380400001)(26005)(82960400001)(31686004)(66476007)(2616005)(66556008)(86362001)(16576012)(6666004)(4326008)(36756003)(53546011)(66946007)(38100700002)(5660300002)(2906002)(44832011)(186003)(4744005)(31696002)(8676002)(6486002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UHVwYzl3T1dTYWhTTzdYNEx2ODNmeEFOT1NMSFR1QksxZk45WnQrNmFJbWdi?= =?utf-8?B?cGlUMWlnZFUwZElaR09Ob0lEdFc4U0c2bHBCY3ZwQ3MvM2toaEE5TlpRVjdX?= =?utf-8?B?RWtNVTFnRmZIVmNLaVF4QmhrUjg4VFRlc2xDcmxTcENQYkVPQ2lYR0h0U3RD?= =?utf-8?B?bUFzMjBESndZOTRQV1VwUnlHSUt5WWpSZk9PRExYTE42Uyt4blpCc2lwb2gx?= =?utf-8?B?ZXBpTFdpSStPenkwN0kwdzl6emI4c1pIcDZmbFJ0Vi85ZGNRRUFXSHpIRVBJ?= =?utf-8?B?Z3JPdUlqakxsTHNZaGpVVk1WamZIWlMxbEc0STMzQm5yK0wwVTJtd2JsT0Vi?= =?utf-8?B?L1A1S1dodUpxYjJWMGlFengwSXBqQjBXNUZzWURVVjRySnd2MVMwT1pscWJP?= =?utf-8?B?cFRLT0tubkMrNGtzKzVnN0t5b25uc1RlSUpubFdzTHZYRXZuV3Vja0tEL0xh?= =?utf-8?B?bTMvdWxRSHBUUXlkMEhhM3BVK0UzMTF4d3Bu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.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2021 15:43:43.6591 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nA7WQ29Vgfi0CXk0wLVnT7ILSr7a0TQ3xYIUWBKcg0/MhkTbbfIklAVZMhObBmSOhTEwYQfoWX0Vy06AZHk3IQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5080 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 11/16/2021 1:22 AM, Min Hu (Connor) wrote: > This patch set contains two ways to optimized Tx performance. > > Chengwen Feng (2): > net/hns3: optimized Tx performance by mbuf fast free > net/hns3: optimized Tx performance > > doc/guides/nics/features/hns3.ini | 1 + > drivers/net/hns3/hns3_rxtx.c | 129 +++++++++++++++--------------- > drivers/net/hns3/hns3_rxtx.h | 2 + > drivers/net/hns3/hns3_rxtx_vec.h | 9 +++ > 4 files changed, 77 insertions(+), 64 deletions(-) > --- > v2: > * document hns3.ini and fix 'TE_ETH_TX_OFFLOAD_MBUF_FAST_FREE' > Series applied to dpdk-next-net/main, thanks.