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 BCA6AA04A5; Thu, 18 Jun 2020 17:05:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3A22C1BF86; Thu, 18 Jun 2020 17:05:35 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30089.outbound.protection.outlook.com [40.107.3.89]) by dpdk.org (Postfix) with ESMTP id 30C221BF72 for ; Thu, 18 Jun 2020 17:05:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jl5O8+e3yCTdr86HbVeYTMYI+58bP8xWecNBTV8EgNI=; b=HUm72HefhKxBMyQMkbB/gH3pDjpjEoBEW/xzGoEyZNq5hbgEHEc+EvKkkPRc/lxsnCVD+R4SWisx0SWOTsk2RqwbZr75jt44aIa0I5asQcZahh4EwXBF40DTZ1wgmjvmOxcROsNgDvgaIAM0x5vRMSF17KsKZk41rqjgjA3H7pU= Received: from AM5PR0602CA0005.eurprd06.prod.outlook.com (2603:10a6:203:a3::15) by AM6PR08MB3141.eurprd08.prod.outlook.com (2603:10a6:209:4a::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Thu, 18 Jun 2020 15:05:32 +0000 Received: from AM5EUR03FT003.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::9b) by AM5PR0602CA0005.outlook.office365.com (2603:10a6:203:a3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Thu, 18 Jun 2020 15:05:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT003.mail.protection.outlook.com (10.152.16.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Thu, 18 Jun 2020 15:05:32 +0000 Received: ("Tessian outbound cdcc6148d2f4:v59"); Thu, 18 Jun 2020 15:05:32 +0000 X-CR-MTA-TID: 64aa7808 Received: from 74b3fecf1656.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2ACDDA43-37A1-4E00-84B9-FF0359DD6525.1; Thu, 18 Jun 2020 15:05:27 +0000 Received: from FRA01-PR2-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 74b3fecf1656.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 18 Jun 2020 15:05:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CY3vAmbCg6kIn+GIqCry67fvnPW/TruYZXeqRNMI54kmjE9XG7D0EZssqq6JxI6MTVe0cValhvBT9iY5fL8Zsbmvkgefm5m3JlZXPhEKx9iWt3CpIj0JNeAga9G7DGiqJgMD/VNnKnbHgodSmaNiut9zs65z4fNG2apvglaEIFLfmj9p0vUL4mkQ34xxemHg2MHsnUDlq9WukAzaXsvrlveS2ch5Kv3vVsCrrc8x7OKV/renkJ9NIrPHFVJYEvVjKlN51rn7TrM3P820uYjqiOt1JT3EfKIhHndPb1CKnVqt5ZSSfOYLQjN6PX6PT9j3EeBuAUJ4VcIQxCP89GMbMQ== 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-SenderADCheck; bh=jl5O8+e3yCTdr86HbVeYTMYI+58bP8xWecNBTV8EgNI=; b=lt0MnX6OlERYpuQm8Z2mrctYnGh6qw0IquCUqG07iDS1AzNDVcEDnFjRQ0FCl8BH6hymozHWtvOCpZHPTdKFg7Xlv+hoptuMTJV3RVeLHsGWRxugersjFkl0IWK7Juvhh5oy8oDLOHvxRbhYQLxRmfnqsRPUeffT/0toTEcZ5kcUzElQjXsdhGNxgy/RtcQlJ0zxdP1aa1ds0vvHXumyaSX6odWYCBz1+1XvWMRMzM6c533Z5ITSlXQopQ93RNPLQgmAOsrD3R3+8utzaWhk23fiOON8zSx8IMKy2uKAGgPjXKHAIIdtTB87kQC3/nJhxPggzRBAQ7V4QhUOzYePxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jl5O8+e3yCTdr86HbVeYTMYI+58bP8xWecNBTV8EgNI=; b=HUm72HefhKxBMyQMkbB/gH3pDjpjEoBEW/xzGoEyZNq5hbgEHEc+EvKkkPRc/lxsnCVD+R4SWisx0SWOTsk2RqwbZr75jt44aIa0I5asQcZahh4EwXBF40DTZ1wgmjvmOxcROsNgDvgaIAM0x5vRMSF17KsKZk41rqjgjA3H7pU= Received: from PR2PR08MB4635.eurprd08.prod.outlook.com (2603:10a6:101:18::23) by PR2PR08MB4761.eurprd08.prod.outlook.com (2603:10a6:101:17::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Thu, 18 Jun 2020 15:05:25 +0000 Received: from PR2PR08MB4635.eurprd08.prod.outlook.com ([fe80::893:518:bade:fb79]) by PR2PR08MB4635.eurprd08.prod.outlook.com ([fe80::893:518:bade:fb79%3]) with mapi id 15.20.3088.029; Thu, 18 Jun 2020 15:05:25 +0000 From: Phil Yang To: Honnappa Nagarahalli , "dev@dpdk.org" , Honnappa Nagarahalli , "alialnu@mellanox.com" , "orgerlitz@mellanox.com" , "wenzhuo.lu@intel.com" , "beilei.xing@intel.com" , "bernard.iremonger@intel.com" CC: "hemant.agrawal@nxp.com" , "jerinj@marvell.com" , "viacheslavo@mellanox.com" , "thomas@monjalon.net" , Ruifeng Wang , nd , nd Thread-Topic: [PATCH 5/5] app/testpmd: enable empty polls in burst stats Thread-Index: AQHWRLW91qMzEHHkKkugwOG1czi/D6jeeVhg Date: Thu, 18 Jun 2020 15:05:25 +0000 Message-ID: References: <20200617144307.9961-1-honnappa.nagarahalli@arm.com> <20200617144307.9961-5-honnappa.nagarahalli@arm.com> In-Reply-To: <20200617144307.9961-5-honnappa.nagarahalli@arm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 638056cc-b9bf-435b-97b8-f54784882384.0 x-checkrecipientchecked: true Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.111] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8a29a59c-33d6-441d-c054-08d813990bfc x-ms-traffictypediagnostic: PR2PR08MB4761:|AM6PR08MB3141: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:2803;OLM:2803; x-forefront-prvs: 0438F90F17 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: pyHaAdkajO0fXqwNkZkWmCcfZHG2CGfLf7EK/+LEtOrXSHL9IPAtpueaeaAACFhDOlLi7X5UWa6sppRnfU6eNTh9+yIXba65o6iObyzOyYojdX7XpM5x9QrKPR3oRkzfE0+ljAfE68sPzy9xA37y+AOPq1I8c2cO+U8k5RC8B0MO2NAZPNqj9WAu7lXNRORCWtqvRWgBJTCLuaTYCh7AmgfNAq8O9NgYBPdhaCA7P36g6R/XYCJmuyQzLhEp6vpFLZ0SXNFbd/oKU/ia/6RMZ8MKUHUx/79jXdtkxD8V7y0ZtlHUSXqQsvHAVpfzLxGhgtQfcjl/mWgN/8z45Nkh6Q== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PR2PR08MB4635.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(366004)(396003)(376002)(136003)(39860400002)(83380400001)(26005)(186003)(4326008)(7696005)(53546011)(33656002)(52536014)(8936002)(5660300002)(8676002)(6506007)(478600001)(2906002)(64756008)(71200400001)(66446008)(76116006)(110136005)(54906003)(316002)(9686003)(66556008)(86362001)(7416002)(66946007)(55016002)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: lU+Fqjxi41O+YhyAswsrAafhk5Zra8oO5e1upqy7eujRPMdcK8Drv1CU2KWmiTfysLkO+lFrwINHPZe1tXvgwbIlppOFmmayVwdqWouGFXhaPAyducq0RE6fa5K39HtS5JCGGEv1qwltyPGrTwDm5q+M2+508o6ZL5k7oyCnu8wTwZg5GRfeORplhL489o3SMJMpK90M7lGQH94yoTPxbihYMrrFOLuomtt6201fRJKawf5MbkONWMhubZ6dc9d4AdNJi9T4LclmohxwXaAwt7Onzhc/JQxw9u2a4sLOSeIyU+RY0/Uea8wHegJGfodNaSmdMp7hJWBlIISK8WEeUd/tW4QkKd4ZFtd9fWYh3JQKRDSxQFfxufcPJJVmkfw9Cgj3hN8w20i1Y0eZBhhR7OPu0+wJhlueSzXlxTUNKkW0WF0vp8fIyflZpCgE2IYrHSXHw/KZ9f2qQxwyJVqbOKq6XUEonJeQKwcNMg6BMlo= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4761 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT003.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(4636009)(346002)(136003)(396003)(376002)(39860400002)(46966005)(52536014)(336012)(53546011)(6506007)(478600001)(356005)(81166007)(86362001)(8676002)(83380400001)(8936002)(82310400002)(7696005)(186003)(82740400003)(2906002)(26005)(36906005)(9686003)(4326008)(316002)(33656002)(5660300002)(70586007)(47076004)(110136005)(70206006)(54906003)(55016002); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 2f5666da-2ba0-42cb-e859-08d8139907c8 X-Forefront-PRVS: 0438F90F17 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uooH80shtT/4Nt8mRlDnG5BujDL6hfajGhN7d4+LDyw8gj7B/kk1Nr6dn03tMnhXwP8jvZSodP+rYHZWN0NFlAcn5O/2A8NmDVMsFQAg0PuMJWJMyX4USw/ZBON1niUpuw3ww2y1N86GNKb5/PE3BlJ0/J6lJI6EFWiR9pFNpVezqTyyHzrSQ9cuiOvGp4pmn3gSwwCnUrsazXcu4uefOfx6fDMHGLDTFi+YVJiOFYezNA5EuGBq0ef3GinP/ihpdEtF2MeAtOjdKhaBodpzqlsPlQrrQ/73y8eRJIrHXMtuyboTJA8u949AdG67zwRa6QNw498pLWtPEVCaA7CrdxrTtkbW2aZp3EaZTmtybXk4oqvgWOZkKKBcO/dBrYsujnbMaM/DVqdjlgedRk+D0w== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2020 15:05:32.4353 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8a29a59c-33d6-441d-c054-08d813990bfc X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3141 Subject: Re: [dpdk-dev] [PATCH 5/5] app/testpmd: enable empty polls in burst stats 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" > -----Original Message----- > From: Honnappa Nagarahalli > Sent: Wednesday, June 17, 2020 10:43 PM > To: dev@dpdk.org; Honnappa Nagarahalli > ; alialnu@mellanox.com; > orgerlitz@mellanox.com; wenzhuo.lu@intel.com; beilei.xing@intel.com; > bernard.iremonger@intel.com > Cc: hemant.agrawal@nxp.com; jerinj@marvell.com; > viacheslavo@mellanox.com; thomas@monjalon.net; Ruifeng Wang > ; Phil Yang ; nd > > Subject: [PATCH 5/5] app/testpmd: enable empty polls in burst stats >=20 > The number of empty polls provides information about available > CPU head room in the presence of continuous polling. >=20 > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Phil Yang > Reviewed-by: Ruifeng Wang > --- > app/test-pmd/csumonly.c | 5 +-- > app/test-pmd/icmpecho.c | 6 ++-- > app/test-pmd/iofwd.c | 6 ++-- > app/test-pmd/macfwd.c | 6 ++-- > app/test-pmd/macswap.c | 6 ++-- > app/test-pmd/rxonly.c | 6 ++-- > app/test-pmd/testpmd.c | 74 ++++++++++++++++++++++++----------------- > 7 files changed, 61 insertions(+), 48 deletions(-) All these modes have been verified. Tested-by: Phil Yang