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 92D9CA0C43; Thu, 21 Oct 2021 20:56:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7FCBD40040; Thu, 21 Oct 2021 20:56:27 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id DD2854003F for ; Thu, 21 Oct 2021 20:56:25 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10144"; a="289953970" X-IronPort-AV: E=Sophos;i="5.87,170,1631602800"; d="scan'208";a="289953970" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2021 11:56:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,170,1631602800"; d="scan'208";a="595217511" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga004.jf.intel.com with ESMTP; 21 Oct 2021 11:56:24 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 21 Oct 2021 11:56:24 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 21 Oct 2021 11:56:23 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 21 Oct 2021 11:56:23 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) 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; Thu, 21 Oct 2021 11:56:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aJldrHw+mJQLI379hB21HvwUM/vjTgWZxP6EJV/0yHt9MgNgxOvd/h1k8xBqj9EkRS2JV21Z5csKHXtkyxJdLQHwlzH5Kbdbrx+RelKgnBCSfPllAgYCWU3pEyZ1GIKuqfcC/PYd+PnfRcarF1XnHN6jk31kVpmjwEZ970PKmBvVmsdbrz9K2pdFTZ7sDCKqN456nTdTzjysgoSuVlGbIMloeTivT4wOMYX7X3hMyo9q9+CL21DRQ+n6rIa/95MyuAlcOZPR98RVs09Tg/0UpEBXfAy2+LM2xowIrEqtV1+gHfmsuxUEEK31ZdG+DllVTbAe6lFlEdRxP4EJT44EMQ== 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=DmT24fPcnTrkJJ/hXqRsG9i8/h4M6dwTYwthSCroFgE=; b=EFb+BnLIPvU2NBJo05lXte/WySfTtoTTahR2HCsCDaEbBMTavhKCBWXjBigtM3hDnjdoJAj1NXkiTiC4K2Y7cMnskB/ue55QzccP3l3d5fhM36yZI/8sCpdhaCxZbknMlyGy1XAd3ZMs1LQI9+DfLvRi+BJyHoa5BoewzCHkG0shTnHVMRNMYUHgtT2RC0aPnISc7cMuDgkG36HIq5vPhN+uTejAqH4+oMQuv52FqglTfZ5s6qFVxIrSFn2MwPUOfsAzydybkjIoqXvWghhXD+TTld/kFUcNs5/8yFG/1yh1GmBToJeodysa8tux4ZR7v9GekNuoDltrUi8+EY24pw== 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=DmT24fPcnTrkJJ/hXqRsG9i8/h4M6dwTYwthSCroFgE=; b=fGkHFwr99R8qipdALSBsr03C7/NrtGkX6PHMK/cnmC6wd1P+2sUuJb7zNt9YFYehYczNWks6QocNJtdSyisZ4+/9Xm4KvT6N8xR32+9xqANnXdyaqWOYfXsP7o0zuODcgG3950XwfeUd2moHFaGvv2InTZh2S1y9oe21kOXSTIk= Authentication-Results: 163.com; dkim=none (message not signed) header.d=none;163.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5063.namprd11.prod.outlook.com (2603:10b6:510:3d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.15; Thu, 21 Oct 2021 18:56:22 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%6]) with mapi id 15.20.4628.018; Thu, 21 Oct 2021 18:56:22 +0000 Message-ID: Date: Thu, 21 Oct 2021 19:56:15 +0100 Content-Language: en-US To: Gaoxiang Liu , , CC: , References: <20210928014348.1747-1-gaoxiangliu0@163.com> <20211017231952.162-1-gaoxiangliu0@163.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211017231952.162-1-gaoxiangliu0@163.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0028.eurprd04.prod.outlook.com (2603:10a6:10:3b::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 DU2PR04CA0028.eurprd04.prod.outlook.com (2603:10a6:10:3b::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18 via Frontend Transport; Thu, 21 Oct 2021 18:56:20 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91ef1aaf-a596-40d5-45ee-08d994c47952 X-MS-TrafficTypeDiagnostic: PH0PR11MB5063: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4i/USUlXncA+GMR817oa2umgwrOUX3L+UbpBikqUfXqJH/8AKdE+zo8kpNcGdinisq2+Q0TihG5QwpBaOqN+A6f89z4SND17gzZwwZ2KeaX+ID0mcaUWjJocpNaBUuxx/HejaqeJRcMoTXXz6nJnc3z7xBvKyguVAlDwoy98cw/jqFyQGwNTDNpsakd3niwd7+9+VWyzme2cTsizedc1FvK4oWR7Pq1M2gbFfBZM2I4kUnKygI7DhiaJIZMBfla0b/EgiZHbiTltxtg0iWaP1Biur/fmjtWes86ASDUQNbRCIV2joP9tu5pUMZmOvuZY/G/Khamb+ReEDVC1HGJyudOGtM2afseG690UXdgNE7m3kExUXdkFx/+2VijE5uwoW/p7zd7Hpcs7HaY9vlSGd5GdZFL0zg83IoCljo5X/YHZyxXObEgLGRwyQkVzncsIgg6aFQCOkStaOz3THNHQ4DPdu4ktCn83yk/OwC+muXKlQSTC6AeIBcCHH0uEXQrdrJruIW7Wgsk8CuALXjrvQyucYTSLbJOIWQF3698MvCgaDBso64UsU8uAxnQhNLWOI8mgASxxPXeziknWDBjka4SkNAOzK8XOD1eLIa+XQd3qGykS+d8+kTB1m0Z+2ku6C4SCcHy61ioyqBEp9wbRN9AFcoqbZ/Kasp8F+gjMK1BpKttac3OnSuXwAUn80wydKVNI8of51eRNPlDVVlQ6GA== 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)(4326008)(8936002)(6486002)(508600001)(186003)(2906002)(36756003)(86362001)(8676002)(38100700002)(26005)(956004)(4744005)(31696002)(44832011)(6636002)(82960400001)(2616005)(5660300002)(66476007)(66556008)(66946007)(83380400001)(6666004)(316002)(53546011)(31686004)(16576012)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TWI5UDY5VGtleUhrb2NYV3NxVlpxY1hralBCUTFkWUlmRTlFWlVKQkRPV0dp?= =?utf-8?B?MlNkaXBDZjFNSjBKK2wyTitDN0ZHWE8xL3dLSmFjVGp4R01yN0lsQ2JidGpV?= =?utf-8?B?VjN3eVlsU1I5Rmo0RkxSTXJkVFhuOUZ0MlF2ZlMrMFJzRWlSRUVITGZON25I?= =?utf-8?B?aXIrbUk0RG0wdnB3aEdJSW8wa3BzanY1azBpbEdyRHA0bnUxR0d4K2tSd2tv?= =?utf-8?B?R0t3ZmFQK0tkRGRGYk84UmFKejA1WTk4RkwzRzdPdzh0ekgyZjVjZS96RThQ?= =?utf-8?B?NjRsbCtzS1BzY2hsR1BOVC8zMVpqSC9hZUp0N0dCaWpGWHNRMjlpbTcycklz?= =?utf-8?B?S29vem84NEhVWitnWDZVVVlTNDFua254UkY3MEZJbEpRNEJaSDNyWFdvaGor?= =?utf-8?B?bXp1K09LazVnYzdrZVp4eUx4dV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nk5hWjBUYWFDTzliSGI3VjVLaHVTcTNoVU1kS1lmWTlqQlludkdFd3d6UmVl?= =?utf-8?B?T2hndUVMbWlwR1BwaEZaeXZpQzFJSHZDU29KT0tPM04xK2V6VVorRWlwclln?= =?utf-8?B?MHoyVm44dzlBY01EUlExck9WdU9uaEFXYlUrcFZWdUYvcDdsM0I3ZE5OMWhX?= =?utf-8?B?aExUckdMUG8yS0RWK0FOUGtvbzJONEhYWEhOWjRjTzBmRXhuNW5rTjRMV2xJ?= =?utf-8?B?cWZ6LzJZQm4vYXhEWDg4Sm93Qmo1TW16bGpsTjYyQlVkakQyYmV4OXhvbFBn?= =?utf-8?B?MExGMGZ4MHpmUUFycVJMeHhva3JrWEZKTit1dWFoek5aYjFQMzJha01NMnFq?= =?utf-8?B?WndnUlM5ZFVnWWw2SzNKMnNHNU54eS91SUkzbm05UGp3dyt3M3ZBSExyVDVB?= =?utf-8?B?OU5hZ0x6SU1xODNHbzVjWW1oZHZoWTVoeFV6U0lLZG1ra01EeUZRemdiYVEx?= =?utf-8?B?RE9PaXpwWTd3R2xmYk1SamN6Zi9URnZabjVPblovOGFSMzVNN3Q4NFY1cVFD?= =?utf-8?B?SE85MnJBSVQyNEZKMFdPTXN5aHg0VTR1WHJWS2h5aFp5QW1zTG8raEZ4WE83?= =?utf-8?Q?zguun4o6rErfed41gqTsczi/bj6Rg2CT?= X-MS-Exchange-CrossTenant-Network-Message-Id: 91ef1aaf-a596-40d5-45ee-08d994c47952 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2021 18:56:22.3116 (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: ferruh.yigit@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5063 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3] net/vhost: merge vhost stats loop in vhost Tx/Rx 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 Sender: "dev" On 10/18/2021 12:19 AM, Gaoxiang Liu wrote: > To improve performance in vhost Tx/Rx, merge vhost stats loop. > eth_vhost_tx has 2 loop of send num iteraion. > It can be merge into one. > eth_vhost_rx has the same issue as Tx. > > Signed-off-by: Gaoxiang Liu Hi Gaoxiang, We are trying to keep unique identity in the git repo, your previous in git records are with your work email, so I will update this commit to use same: Signed-off-by: Gaoxiang Liu Please let us know if you have an objection.