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 6DA0C42AD5; Thu, 11 May 2023 15:32:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11021406B6; Thu, 11 May 2023 15:32:18 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2074.outbound.protection.outlook.com [40.107.22.74]) by mails.dpdk.org (Postfix) with ESMTP id 695D140697 for ; Thu, 11 May 2023 15:32:16 +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=TML96SeMpo7v/OrLiuZ3eHQv8HIZQzzFSZRonuQ93fM=; b=qdif5v0ObOlfNgG8MxG0ZL+1Z506R4/IllEAzxH8lawn9hdgWO2Sg7iiHbFOq6a8I0rD2eScaV77xFM2gkNJjHuCV8TcKq1iSwzamVzcmx2g1uIBVs4p6nHqANLX4K7sNvKhR0jYumECRKEaNlkYC1AFd8h/mAiVVbZHXKO/UIg= Received: from DB8PR09CA0009.eurprd09.prod.outlook.com (2603:10a6:10:a0::22) by DU0PR08MB9078.eurprd08.prod.outlook.com (2603:10a6:10:47a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.20; Thu, 11 May 2023 13:32:14 +0000 Received: from DBAEUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:a0:cafe::76) by DB8PR09CA0009.outlook.office365.com (2603:10a6:10:a0::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.21 via Frontend Transport; Thu, 11 May 2023 13:32:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass 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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT014.mail.protection.outlook.com (100.127.143.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.18 via Frontend Transport; Thu, 11 May 2023 13:32:14 +0000 Received: ("Tessian outbound 5154e9d36775:v136"); Thu, 11 May 2023 13:32:14 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fefe8f89f985c19f X-CR-MTA-TID: 64aa7808 Received: from e7f2c7d0f999.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3805AEBF-ADB5-4AAA-BAA8-0420DE300955.1; Thu, 11 May 2023 13:32:08 +0000 Received: from EUR03-AM7-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e7f2c7d0f999.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 11 May 2023 13:32:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hZT2v5L9bzp0piJj5filrC2NT7RZ/2tUH0v+yZGOS3Mtl1bgYl7E9VtliGZCEyRnKkZdGlVID0lj7/0mNVR6X4UDhQKJiJiQrCjm6ZcetbA2QbGod8mKVBIgL4zBKSbg5tCqnio7LJ6sxefVpbSQDlycIKfyAnYsXfZSUTm6YXw4uebTRtQBz7VOO3xEn5E7ZnWaYs9zUNxrUK7SvdPyzv/yGOwkIoK9jc1M1XP0dGlQWvCAKdg8n2LjKIyrahDBXWlrux0UPKlgpaRpccyyEoEByXt+XN16SBOXdNZacpG7S8G2wdbrc+AvM3UopArlW/NLUHWXhoX1yhxNc6T7/Q== 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=TML96SeMpo7v/OrLiuZ3eHQv8HIZQzzFSZRonuQ93fM=; b=oAL4/XOYG0iGmb/E6iXAEWVYAfcHASTQkWUFSpthAjT1ECkU9TSc6/0cPRF9183bjJdXjBJjZmJXXBqqURtDjfRZcLN3E9qZ+yNv/3mA7KupXnwWcCaB/mXP38UY2qrEKD2lpWGpb/Z3gJHkTaof/NDCMgMAs/XPdG6TWOvj400Ki01YVMwrslI1+SyXdIASb6nlg6emo1vrL+seXQghscbjx0LntKCgtEihi6FsJYZO0Edj3XqEPZBqvyQhL5lWeQ3AENnbY+RS4Tlowlz6kn4PFf2NQgCb75X258D6SYDCXZW9YuFfRSSpZOXxW2FF4DrjB9wO+T0JIT6JAOntgg== 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=TML96SeMpo7v/OrLiuZ3eHQv8HIZQzzFSZRonuQ93fM=; b=qdif5v0ObOlfNgG8MxG0ZL+1Z506R4/IllEAzxH8lawn9hdgWO2Sg7iiHbFOq6a8I0rD2eScaV77xFM2gkNJjHuCV8TcKq1iSwzamVzcmx2g1uIBVs4p6nHqANLX4K7sNvKhR0jYumECRKEaNlkYC1AFd8h/mAiVVbZHXKO/UIg= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DB9PR08MB8649.eurprd08.prod.outlook.com (2603:10a6:10:3d3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.20; Thu, 11 May 2023 13:32:06 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::621c:838a:cb11:19b7]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::621c:838a:cb11:19b7%5]) with mapi id 15.20.6387.020; Thu, 11 May 2023 13:32:05 +0000 From: Honnappa Nagarahalli To: Jerin Jacob , Feifei Wang CC: "dev@dpdk.org" , nd , Lijian Zhang , Ruifeng Wang , nd Subject: RE: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters Thread-Topic: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters Thread-Index: AQHZg+IvkwlBTwIfrUeY+ofI+KhW0K9Uw7cAgABNoBA= Date: Thu, 11 May 2023 13:32:05 +0000 Message-ID: References: <20230511082519.4168523-1-feifei.wang2@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: A512622566F4E94F92C08A7211E397D2.0 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: DBAPR08MB5814:EE_|DB9PR08MB8649:EE_|DBAEUR03FT014:EE_|DU0PR08MB9078:EE_ X-MS-Office365-Filtering-Correlation-Id: 2253eb08-5668-4036-acfc-08db522421db x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ZSDlN7W5r+ofOwZR5Oqp8eb3EMv21tVWRLG0iDI2vjV1CxYm4O4qxJ4zGCJu1i/6xqKhpSbt7oXzN6g0c9uwItPsyT1dwr1X3dZB3NKevOScFvu2WTNJqM0d1hO2zh3H7bJxB25UvW02IIRnsAlyMKKcU/GAtIqyGJuzswonAZCtHdBwv6gsYaJeUHBb9VQvyT4PeE1Tj2C1eGbtZuzPTxKe4nt+NSorSfkwKj85zyy+5HGf0F+2kfgB8JmyTRt0dIGgn40LYluwV64P3fwVNN3Y8tQ5xOUgKVFRsHK7ootoFxf4jPzDj8lptBR7rxevQ+jmUxRKNTgpYByYZkOFVZnSuM3Wa86EN4gXJIgVFAax3eKXhJrqvtYx3XJrehT/Wp1g5HwYxLmVCqozEuO91bq60y0nLcRpulKMLjpyEgKpzaEwwgsYU2uuc7ydBMSdP+AU+VpZFxPMmvb8WvQuJ/gJo1wNwdbfwCohKyOn3KGpktthJC1EORyGnmeu6ku7lt3XAi9Xzf+x6kGKsKU3H9ZsE/Bj32ioPT886YUZLF451FvZnsLoKhzPTSKkTwo/weweu6fnQEqEAWhZDzTdimllIqjAEjGoVr6uFx97H92WUJ+P9GBpBDJ9xGrQ/vv6 X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(376002)(39860400002)(396003)(346002)(136003)(451199021)(38100700002)(6636002)(122000001)(76116006)(8936002)(8676002)(110136005)(54906003)(83380400001)(41300700001)(33656002)(66446008)(66476007)(4326008)(66556008)(64756008)(66946007)(316002)(6506007)(9686003)(53546011)(26005)(55016003)(478600001)(186003)(2906002)(86362001)(71200400001)(7696005)(38070700005)(52536014)(5660300002); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8649 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 4f400feb-0582-4f9e-2fb8-08db52241cd1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0SkEsMpa1XfDPgxtVXctdqa6fnhfoGbZM4nAQipbTN/zMR5ClT84H+G3LFNyS46AX4n9n4gxKA/JPRCq/aD8g44nwaufnT66kAhoakZjksyqnbBxsZFMwNApdnxb84A4uLHwbzTVi3fWUkxBjyq52lPp28jo2SlOIxeD7rSrN8lEELHNmODU/Izig4qbN8RPV+Y/GWmhdz7Xvg9KZsBaQgKfx4mySiq6oc6ejiNyhdZUjLApY8xOEnO84pBnApDXTNS/5qFxlRNXhE0AAUFhzePzXHtTGntGr71BBsZHnrnjC4cP8Tfw5D5ERN0qVnCKdjvGVRHXE88Yw4Q7Z3q3oEKomTpJopOKr9E8LxRriKEFKHkE9JITqArnv5JzCOp+Cn3Hc28NrR6Z5lPk4J3LwHjMTLbnnAVjKL79EAiFQTVyWvYx7lzVaXD2XcCL2pUlPj3AVFcypcbUlMSk7UFiPRo9qnmAt8LHbSUece4qQVV9F8k7t1RviNofOK/Bxc19S/u2W387uA2GoJJiVlRaSb/4Hx18hef9c3gAmyI9avwnMnK1N5Jq0We/+TYsJjfWD5JOZKRnnANBvU5I9/KBNxFgP/K2iC9/CcH3dPSGhhJh5rJr7SR3D4sohrsDcxmFCqa9IMtajZIfkgybXXwBHruYMefwckt+qXvFgsHX3nTeGz2axJ1BS8WDH/UnAjr/GSaqOAvp8OLzD4NNQavHzImct8P3nK3ArKQJSTd0Xwk4WC/y3wXLUk4zKquufIsb 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; SFS:(13230028)(4636009)(396003)(346002)(136003)(39860400002)(376002)(451199021)(36840700001)(46966006)(40470700004)(81166007)(33656002)(41300700001)(2906002)(6506007)(186003)(53546011)(40480700001)(26005)(5660300002)(9686003)(52536014)(40460700003)(82740400003)(8936002)(55016003)(7696005)(54906003)(110136005)(478600001)(36860700001)(83380400001)(8676002)(336012)(47076005)(356005)(86362001)(82310400005)(4326008)(70206006)(70586007)(6636002)(316002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2023 13:32:14.3402 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2253eb08-5668-4036-acfc-08db522421db 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-AuthSource: DBAEUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9078 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 PHNuaXA+DQoNCj4gDQo+IE9uIFRodSwgTWF5IDExLCAyMDIzIGF0IDE6NTXigK9QTSBGZWlmZWkg V2FuZyA8ZmVpZmVpLndhbmcyQGFybS5jb20+DQo+IHdyb3RlOg0KPiA+DQo+ID4gVGhpcyBwYXRj aCBpcyB0byBjb2xsZWN0IGVtcHR5IHBvbGwgb2YgJ3J0ZV9ldGhfcnhfYnVyc3QnIGZ1bmN0aW9u cyBpbg0KPiA+IGRwZGsgbDNmd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gQEAgLTIwNyw4ICsy MTAsMjIgQEANCj4gPiBscG1fbWFpbl9sb29wKF9fcnRlX3VudXNlZCB2b2lkICpkdW1teSkNCj4g PiAgICAgICAgICAgICAgICAgICAgICAgICBxdWV1ZWlkID0gcWNvbmYtPnJ4X3F1ZXVlX2xpc3Rb aV0ucXVldWVfaWQ7DQo+ID4gICAgICAgICAgICAgICAgICAgICAgICAgbmJfcnggPSBydGVfZXRo X3J4X2J1cnN0KHBvcnRpZCwgcXVldWVpZCwgcGt0c19idXJzdCwNCj4gPiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIE1BWF9QS1RfQlVSU1QpOw0KPiA+IC0gICAgICAgICAgICAgICAg ICAgICAgIGlmIChuYl9yeCA9PSAwKQ0KPiA+IC0gICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgY29udGludWU7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgaWYgKHN0YXJ0X2NvdW50 ID09IDApIHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChuYl9yeCAh PSAwKQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdGFydF9j b3VudCA9IDE7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgfQ0KPiA+ICsNCj4gPiArICAg ICAgICAgICAgICAgICAgICAgICBpZiAoc3RhcnRfY291bnQgPT0gMSkgew0KPiA+ICsgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgc3RhdHNbbGNvcmVfaWRdLm5iX3J4X3BrdHNbaV0gKz0g bmJfcng7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdGF0c1tsY29yZV9p ZF0ubnVtX2xvb3BbaV0rKzsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlm IChuYl9yeCA8IE1BWF9QS1RfQlVSU1QgJiYgbmJfcnggPiAwKQ0KPiA+ICsNCj4gPiArIHN0YXRz W2xjb3JlX2lkXS5ub19mdWxsX2xvb3BbaV0rKzsNCj4gPiArDQo+ID4gKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBpZiAobmJfcnggPT0gMCkgew0KPiA+ICsgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBzdGF0c1tsY29yZV9pZF0ubm9uZV9sb29wW2ldKys7DQo+ ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlOw0KPiA+ ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQ0KPiA+ICsgICAgICAgICAgICAgICAg ICAgICAgIH0NCj4gPg0KPiA+ICAjaWYgZGVmaW5lZCBSVEVfQVJDSF9YODYgfHwgZGVmaW5lZCBf X0FSTV9ORU9OIFwNCj4gPiAgICAgICAgICAgICAgICAgICAgICAgICAgfHwgZGVmaW5lZCBSVEVf QVJDSF9QUENfNjQgQEAgLTIyMyw2ICsyNDAsMTENCj4gPiBAQCBscG1fbWFpbl9sb29wKF9fcnRl X3VudXNlZCB2b2lkICpkdW1teSkNCj4gPiAgICAgICAgICAgICAgICAgY3VyX3RzYyA9IHJ0ZV9y ZHRzYygpOw0KPiA+ICAgICAgICAgfQ0KPiA+DQo+ID4gKyAgICAgICBmb3IgKGkgPSAwOyBpIDwg bl9yeF9xOyArK2kpIHsNCj4gPiArICAgICAgICAgICAgICAgc3RhdHNbbGNvcmVfaWRdLm5vbmVf bG9vcF9wZXJbaV0gPQ0KPiAoZmxvYXQpc3RhdHNbbGNvcmVfaWRdLm5vbmVfbG9vcFtpXS9zdGF0 c1tsY29yZV9pZF0ubnVtX2xvb3BbaV0qMTAwOw0KPiA+ICsgICAgICAgICAgICAgICBzdGF0c1ts Y29yZV9pZF0ubm9fZnVsbF9sb29wX3BlcltpXSA9DQo+IChmbG9hdClzdGF0c1tsY29yZV9pZF0u bm9fZnVsbF9sb29wW2ldL3N0YXRzW2xjb3JlX2lkXS5udW1fbG9vcFtpX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mbGNv cmVfY29uZltsY29yZV9pZF07DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgZm9yIChxdWV1 ZSA9IDA7IHF1ZXVlIDwgcWNvbmYtPm5fcnhfcXVldWU7ICsrcXVldWUpIHsNCj4gPiArICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIHByaW50ZigiXG5sY29yZSBpZDolZFxuIiwgbGNvcmVf aWQpOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJpbnRmKCJxdWV1ZV9p ZDolZFxuIixxdWV1ZSk7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcmlu dGYoIlJ4IHBrdCAlZFxuIiwgc3RhdHNbbGNvcmVfaWRdLm5iX3J4X3BrdHNbcXVldWVdKTsNCj4g PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByaW50ZigibG9vcCBudW1iZXI6ICVk LCAwIHBrdHMgbG9vcDolZCwgPDMyIHBrdHMNCj4gbG9vcDolZFxuIiwNCj4gPiArICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdHNbbGNvcmVfaWRdLm51bV9sb29wW3F1 ZXVlXSwNCj4gc3RhdHNbbGNvcmVfaWRdLm5vbmVfbG9vcFtxdWV1ZV0sIHN0YXRzW2xjb3JlX2lk XS5ub19mdWxsX2xvb3BbcXVldWVdKTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIHByaW50ZigiMCBwa3RzIGxvb3AgcGVyY2VudGFnZTolLjJmJSUsIDwzMiBwa3RzIGxvb3AN Cj4gcGVyY2VudGFnZTolLjJmJSVcbiIsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIHN0YXRzW2xjb3JlX2lkXS5ub25lX2xvb3BfcGVyW3F1ZXVlXSwNCj4gc3Rh dHNbbGNvcmVfaWRdLm5vX2Z1bGxfbG9vcF9wZXJbcXVldWVdKTsNCj4gPiArDQo+ID4gKyBwcmlu dGYoIi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLVxuXG4iKTsNCj4gPiArDQo+ ID4gKyAgICAgICAgICAgICAgICAgICAgICAgfQ0KPiA+ICsgICAgICAgICAgICAgICB9DQo+ID4g Kw0KPiA+ICsgICAgICAgICAgICAgICBuaWNfeHN0YXRzX2Rpc3BsYXkoMCk7DQo+ID4gKyAgICAg ICAgICAgICAgIG5pY194c3RhdHNfZGlzcGxheSgxKTsNCj4gPiArDQo+ID4gICAgICAgICAgICAg ICAgIFJURV9FVEhfRk9SRUFDSF9ERVYocG9ydGlkKSB7DQo+ID4gICAgICAgICAgICAgICAgICAg ICAgICAgaWYgKChlbmFibGVkX3BvcnRfbWFzayAmICgxIDw8IHBvcnRpZCkpID09IDApDQo+ID4g ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTsNCj4gPiAtLQ0KPiA+IDIu MjUuMQ0KPiA+DQo=