Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp842105imj; Fri, 15 Feb 2019 07:42:15 -0800 (PST) X-Google-Smtp-Source: AHgI3IaIhPPZekXavTI+kue0UsdGNoc5DDte2VWT9QGy3qFfCmkAheTAUU5+ML47bbkiFTntEuZD X-Received: by 2002:a62:109b:: with SMTP id 27mr10272090pfq.227.1550245335609; Fri, 15 Feb 2019 07:42:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550245335; cv=none; d=google.com; s=arc-20160816; b=yZK8XdVWGFYeC1rBksQyMLBMDS46NEWnxNQ7L6h0LX8kw75WN6Wqj/Sy5Y5NBskSvj atVFhzZRhK3izRZGro8dpFKQn5Zr0loYvp1iGsJgWRKbmeZMzViTf7FMPuiyYPlv80V8 iI8jEmZ2j4cswXsvIjAFRMu8v88hcif2dr5C7gRfozI2PVBlAs+OZkuFxriYfVGZeZSV XLJ5mxMHklMNmigdiadIhE7QTIXpxqY5o3jDhZNpUCDDTmhNOMQ71Slwd8UcOPz3J3r9 46V4dgo2Upj5hJ6I9cpayh4BtNJni5ECCSauP1E1xVjM2qLLg0YROPXRHWzXWkzSBJ9f 5OYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=sEYMzIdTn5QWExcCPZoHLa59sK1Qewc3SBYdnv+1EaM=; b=aU4B4nP7kHl8kIKLpAM+DcmcQoZJ3rfifHGnkWSxuKFAADxWBuN4vtsAoXpJpvBvlH WolVMoZTAZ/dgoBLepKYSKcKjdtRjeg5YnaYphG8NOKmBso+2bC8jqSyKNcof+WdbUTK dmJKQWOfwdPlJ7aa6PL86xgTj6kPO6eMx11yH5ppR8uJY5hTPPSrupdWbsQDmHKPIOu4 ozACpygSKIvNxtltdyJf7rWoWeBxC/NmUtXEy3SVnlfafDBd6YEqdEWpES0AztgQw9+e PCUJGJgOK00ps+zOSgfwHm57en+NhS9WuVcDU+BwtyjoJtjx8J1QeNKCyqsKARzcFJg4 kLow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=y6c4kuAB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 102si5729877plb.176.2019.02.15.07.41.59; Fri, 15 Feb 2019 07:42:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=y6c4kuAB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388090AbfBOJUR (ORCPT + 99 others); Fri, 15 Feb 2019 04:20:17 -0500 Received: from mail-eopbgr770073.outbound.protection.outlook.com ([40.107.77.73]:18929 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730658AbfBOJUK (ORCPT ); Fri, 15 Feb 2019 04:20:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sEYMzIdTn5QWExcCPZoHLa59sK1Qewc3SBYdnv+1EaM=; b=y6c4kuABBp7wD9wAzdooDZbmjipSS2vUoWWA9FF35xQ4T+XxK6JZXR+Ugq8ih4Ew7NGSOvzGyjQssCVIbfsm0BMXjTyltparGwDPlb5yJWd3yQTr0wEl5XMXultZ31JgNVwYubzHPzt+Kq4C4+J5+i1x6tb68usGUCdNv4xKh0o= Received: from MN2PR12MB3455.namprd12.prod.outlook.com (20.178.244.22) by MN2PR12MB3615.namprd12.prod.outlook.com (20.178.242.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.16; Fri, 15 Feb 2019 09:20:07 +0000 Received: from MN2PR12MB3455.namprd12.prod.outlook.com ([fe80::f01f:c1eb:8483:1679]) by MN2PR12MB3455.namprd12.prod.outlook.com ([fe80::f01f:c1eb:8483:1679%5]) with mapi id 15.20.1622.018; Fri, 15 Feb 2019 09:20:07 +0000 From: "Mehta, Sanju" To: "S-k, Shyam-sundar" , "jdmason@kudzu.us" , "dave.jiang@intel.com" , "allenbh@gmail.com" CC: "linux-ntb@googlegroups.com" , "linux-kernel@vger.kernel.org" , "Mehta, Sanju" Subject: [PATCH 1/4] NTB: ntb_perf: Increased the number of message retries to 1000 Thread-Topic: [PATCH 1/4] NTB: ntb_perf: Increased the number of message retries to 1000 Thread-Index: AQHUxQ+kzcBLircFnkWwMPFTZUsE7g== Date: Fri, 15 Feb 2019 09:20:07 +0000 Message-ID: <1550222279-27216-1-git-send-email-Sanju.Mehta@amd.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MA1PR0101CA0035.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:22::21) To MN2PR12MB3455.namprd12.prod.outlook.com (2603:10b6:208:d0::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Sanju.Mehta@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-originating-ip: [165.204.156.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 56f66693-fd3c-480b-cbf8-08d69326c674 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605077)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:MN2PR12MB3615; x-ms-traffictypediagnostic: MN2PR12MB3615: x-microsoft-exchange-diagnostics: 1;MN2PR12MB3615;20:wz0L8m8i+dYdUrCIEz9DRJXLqnxfa3K12SY1YlmMgLj6DfGBWOxEMvD4xVXoi06cIaQj/YhnBQkc/sTMd1/aPMQEQ6XDQEgxIOcpRUQ0fx49ppby/yolgi8+tnRwewSerwcOVxW2BOwo5ySxfCefOPn8THF4yPFpeefVFgkRKreD92JvUA25LaHZxchz4moggks4Iyq5PSFDNlLkd2wofe9YvOJIZadRUTlBtm7QO1Mi3K0XBj0Dq2r9bWKm7Rh9 x-microsoft-antispam-prvs: x-forefront-prvs: 09497C15EB x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(366004)(136003)(396003)(346002)(39860400002)(189003)(199004)(68736007)(256004)(86362001)(2501003)(14454004)(6486002)(6436002)(97736004)(2201001)(6116002)(3846002)(72206003)(2906002)(66066001)(478600001)(36756003)(2616005)(186003)(476003)(26005)(52116002)(4744005)(6512007)(486006)(4326008)(25786009)(110136005)(316002)(54906003)(99286004)(50226002)(8936002)(81166006)(81156014)(8676002)(305945005)(7736002)(106356001)(71190400001)(71200400001)(105586002)(53936002)(386003)(102836004)(14444005)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR12MB3615;H:MN2PR12MB3455.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: MCjH15XAqrxRLfm0vNYDbOrbH7TZ3N50G3hB6xVvglQ5q1DtEqRz+L1iJ/kruSwRBCAprVwRKuiDwNJq4r6m5gxdy+qNmlzMmt3GTRTr8BgIer4LU8DQozqHDhOXledNziEotBPsG4HYhCIouZW2tEpPiNypBWPAXgRzHynfGus44fB2ck8kUpCJjoA8eYKDuBg5CE3TbdtmmxmhxPG39gyr4T3ixBETFTgAbnUvFwTXr1BaeaWOF3Y69mYHdgOdi9O/ONAeco4JAMtnVQRxOFM3xR8j/7n0ZN+ALrsgeTQ0k6Inbv7sRoeLifldep1vB9k6G3+6qrW1aNm6PUcCcN4jnrE8s22lj4jy7m/iRC7t6VbS3VQKrgrw0ZMyJoOCFt56B7IBr590Lr1xD/iH/Mh0+7FnnKve8s2JYE5FnWw= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56f66693-fd3c-480b-cbf8-08d69326c674 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2019 09:20:04.4921 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3615 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sanjay R Mehta while waiting for the peer ntb_perf to initialize scratchpad registers, local side ntb_perf might have already exhausted the maximum number of retries which is currently set to 500. To avoid this and to give little more time to the peer ntb_perf for scratchpad initialization, increased the number of retries to 1000 Signed-off-by: Sanjay R Mehta --- drivers/ntb/test/ntb_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ntb/test/ntb_perf.c b/drivers/ntb/test/ntb_perf.c index 2a9d6b0..a828d0e 100644 --- a/drivers/ntb/test/ntb_perf.c +++ b/drivers/ntb/test/ntb_perf.c @@ -100,7 +100,7 @@ MODULE_DESCRIPTION("PCIe NTB Performance Measurement To= ol"); #define DMA_TRIES 100 #define DMA_MDELAY 10 =20 -#define MSG_TRIES 500 +#define MSG_TRIES 1000 #define MSG_UDELAY_LOW 1000 #define MSG_UDELAY_HIGH 2000 =20 --=20 2.7.4