Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp556721ybh; Wed, 11 Mar 2020 06:25:38 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs+ExOJpyLX8iY8gd8QwXMrbuYgmzIBeMFTLc0iracxFp6WoQWEC6TjxPa5JIqMgTh50dXD X-Received: by 2002:aca:ec16:: with SMTP id k22mr1913194oih.177.1583933138282; Wed, 11 Mar 2020 06:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583933138; cv=none; d=google.com; s=arc-20160816; b=LEs8JxTySPDdD8tSMNMCkgluhIcSU39lA8ozhv1JbYUR0nCxT7jyFly6zoS3NmSvj3 0ATKta7sSpctZ7wuIpjqPg7Pb4dE82GFgtXzfsm70l7JMSgMQkZTrc/vcSO0jFjBucVW 3XXMdbYkxGFFeizflTO7gFzIx0gHreZfVXfInnFXlZoC4KBZ+BJ3xCanFyIgwiLV+gYY QdJEbZO1MSqVh5lpIz1O48emEK6gyyc7Y9nKYRhEhYDsrldsFwjnDKihgaUoLq6agcnk ERPZgAw6PsV1k44FgAGZlYtxN4/AeOU1IDR8/zDOSRZeH/LZWifOfESXUTQtqD7ROGB8 Mm7w== 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:deferred-delivery:date :thread-index:thread-topic:subject:cc:to:from:ironport-sdr :dkim-signature; bh=B8jOMCqbDR7Zko2wwt5K6slWtjLqLe62QbciOrYB02A=; b=hGQaVzzE5C8D1MvLWFW/m0nu8Rc7fBu9SclHDbBSTUELWfKTSltuhg03C3Bk/esETR 8l4bBjHj64ZFu0DRMyrxpYuxGx2hKqdS576eJn4OoFAEQ2nfsyfSiE457Gh44gaI3zxa dm6F7qwpP10DdOeCRYmSEDUm0vzggMQAX7jObUc32GMvkjAsu7k6lg8ARIE9m8UsJo1N hYuFwr3HinYx5p/NRWx8gIqDtUcpG2w/dhQ8/eoWZeRYA2brBwqgPVpjQMDVWxRFYGy2 lBGe1xxLlMJ83PWncoyG/LGCWca80HP4329CPeTSQiVCLRSPdYg5X3+WkT1G5l/4nnLI 2TlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=ImZXCPgB; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m4si1072585otk.132.2020.03.11.06.25.27; Wed, 11 Mar 2020 06:25:38 -0700 (PDT) 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=@amazon.com header.s=amazon201209 header.b=ImZXCPgB; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729627AbgCKNY6 (ORCPT + 99 others); Wed, 11 Mar 2020 09:24:58 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:44080 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729471AbgCKNY4 (ORCPT ); Wed, 11 Mar 2020 09:24:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1583933096; x=1615469096; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=B8jOMCqbDR7Zko2wwt5K6slWtjLqLe62QbciOrYB02A=; b=ImZXCPgBIb/sGlDFt8kfhHrwwisTC/OWCSwj2unbhuntMdF3i2kOtWN+ 3lE6BlKQAQl5apCoLAl5mVdDBOruWzpU2XufTLIzKqFdO31LX8whG/0sa DrmXtHnTrgSi/Nqf/YwWhToRGxNDpQVdK2YVzPF5kkweXUHmTHE26mJxJ w=; IronPort-SDR: vpvvo3sE6lFS0hBuL6a3luEt9Z15gQHld8ekbtyhqP69tbJfNShd47P3KtUu3IcFjvIUzPYTSo OauNUXbEEF+w== X-IronPort-AV: E=Sophos;i="5.70,541,1574121600"; d="scan'208";a="30574430" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1d-5dd976cd.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 11 Mar 2020 13:24:52 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1d-5dd976cd.us-east-1.amazon.com (Postfix) with ESMTPS id DC6FEA2033; Wed, 11 Mar 2020 13:24:51 +0000 (UTC) Received: from EX13D08EUB003.ant.amazon.com (10.43.166.117) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Wed, 11 Mar 2020 13:24:51 +0000 Received: from EX13D11EUB003.ant.amazon.com (10.43.166.58) by EX13D08EUB003.ant.amazon.com (10.43.166.117) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 11 Mar 2020 13:24:49 +0000 Received: from EX13D11EUB003.ant.amazon.com ([10.43.166.58]) by EX13D11EUB003.ant.amazon.com ([10.43.166.58]) with mapi id 15.00.1497.006; Wed, 11 Mar 2020 13:24:49 +0000 From: "Jubran, Samih" To: "Machulsky, Zorik" , Josh Triplett CC: "Belgazal, Netanel" , "Kiyanovski, Arthur" , "Tzalik, Guy" , "Bshara, Saeed" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: Re: [PATCH] ena: Speed up initialization 90x by reducing poll delays Thread-Topic: Re: [PATCH] ena: Speed up initialization 90x by reducing poll delays Thread-Index: AdX3p3qv2ZVxWOLdSTS1k/4T+/7Wlw== Date: Wed, 11 Mar 2020 13:24:17 +0000 Deferred-Delivery: Wed, 11 Mar 2020 13:23:58 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.164.12] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSm9zaCwNCg0KVGhhbmtzIGZvciB0YWtpbmcgdGhlIHRpbWUgdG8gd3JpdGUgdGhpcyBwYXRj aC4gSSBoYXZlIGZhY2VkIGEgYnVnIHdoaWxlIHRlc3RpbmcgaXQgdGhhdCBJIGhhdmVuJ3QgcGlu cG9pbnRlZCB5ZXQgdGhlIHJvb3QgY2F1c2Ugb2YgdGhlIGlzc3VlLCBidXQgaXQgc2VlbXMgdG8g bWUgbGlrZSBhIHJhY2UgaW4gdGhlIG5ldGxpbmsgaW5mcmFzdHJ1Y3R1cmUuDQoNCkhlcmUgaXMg dGhlIGJ1ZyBzY2VuYXJpbzoNCjEuIGNyZWF0ZWQgYWMgIGM1LjI0eGxhcmdlIGluc3RhbmNlIGlu IEFXUyBpbiB2X3ZpcmdpbmlhIHJlZ2lvbiB1c2luZyB0aGUgZGVmYXVsdCBhbWF6b24gTGludXgg MiBBTUkgDQoyLiBhcHBseSB5b3VyIHBhdGNoIHdvbiB0b3Agb2YgbmV0LW5leHQgdjUuMiBhbmQg aW5zdGFsbCB0aGUga2VybmVsIChjdXJyZW50bHkgSSdtIGFibGUgdG8gYm9vdCBuZXQtbmV4dCB2 NS4yIG9ubHksIGhpZ2hlciB2ZXJzaW9ucyBvZiBuZXQtbmV4dC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