Received: by 10.213.65.68 with SMTP id h4csp916694imn; Wed, 28 Mar 2018 15:44:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/atyJPJ/zRRNj6jTewXuIupgLr5tYOZDUfiROfzbCsG/7uwK8BtGajVpOUJiiuwIiH/gXt X-Received: by 2002:a17:902:900b:: with SMTP id a11-v6mr5473294plp.366.1522277044017; Wed, 28 Mar 2018 15:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522277043; cv=none; d=google.com; s=arc-20160816; b=oHUBPhP2bfXrwBoErvHONxH3sZwnOc0/QF945cQRCTQiyK60NTjewuiKXmmvRr/EDQ qGukiltd+PayHispiSDt5+k/4xgFTcmRKwMPMGr4Lni3oz7ChzrqMw/+X/v3AUS8/Nmf /BKa6zbZYsTZhzLMuyFJEq9EZqm+dekzV5EFbdrcCfAmwqpnP75Im5vXpdtdjIWUK0WS sasLFSz8TOotIDTiVvppXLs5/96ts99mKpBaoTY02HZ/+2KykmG5man34G1zFIAvVyX8 5GmkxJMaSDa8npAzPesaCRUSBNUqLp3eBOxwbICd0+YLLtJulAZ2TRGE7boH2wZxcD5d uFuw== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=wge4rXUvjZ55ANbD7qo3126/LKBqFZ+39rav1ts5iEQ=; b=cp2ZeynMySvPAem9jnv5COrhzW2pYq0lmaS5fPZbFF55pHEaWtuAxnHEMb5JMcab8f v5hc1/NjfZoii3owrKpzdkppSRuk3s4uBdLwnae5X9lH0NLGmDseNs7YZSNxjelTNnvq vNGTgq6pNCx6QY3xv09jFicLcmTYax0/PXRmRWuBsNAaWo9TjJdzNSMIYAMbKlsOVA4b i34mdvCeUAdzLQ0qrdd2rNAFKypVOmOm6AX3hIXR/aHSIH/lVq8fv1c+qkOBk2wYW9EE rSPTcZy9Ycnr/NoT852tkGz+Xj+hLhVpWiji34KjXL8OkKo/NjaQJNC52enjVVKKa0ac ocqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=c7lEzlAq; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j10si3445461pfe.276.2018.03.28.15.43.49; Wed, 28 Mar 2018 15:44:03 -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=@microsoft.com header.s=selector1 header.b=c7lEzlAq; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753769AbeC1Wmv (ORCPT + 99 others); Wed, 28 Mar 2018 18:42:51 -0400 Received: from mail-by2nam01on0129.outbound.protection.outlook.com ([104.47.34.129]:14897 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753365AbeC1Wms (ORCPT ); Wed, 28 Mar 2018 18:42:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wge4rXUvjZ55ANbD7qo3126/LKBqFZ+39rav1ts5iEQ=; b=c7lEzlAqv2H8UHeaQB9JeHUEcCXJslU8/UgTQUJ3ner2r2A7/x6CI9BLCBoSuXbWnfYF5XnV5TV/Nh/FlTLt1+fBhMtG7hhgABUlcLtdRWKYJgk4CT4DlZIvgnY9Yf/HM3wsTkqSOxEqpDexTukobqP/IinqGE+zMPSsNnrxY9M= Received: from MWHPR2101MB0729.namprd21.prod.outlook.com (10.167.161.167) by MWHPR2101MB0811.namprd21.prod.outlook.com (10.167.173.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.631.2; Wed, 28 Mar 2018 22:42:45 +0000 Received: from MWHPR2101MB0729.namprd21.prod.outlook.com ([fe80::2944:e336:d611:1ee9]) by MWHPR2101MB0729.namprd21.prod.outlook.com ([fe80::2944:e336:d611:1ee9%5]) with mapi id 15.20.0653.006; Wed, 28 Mar 2018 22:42:45 +0000 From: Long Li To: "Martin K. Petersen" , Long Li CC: KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "James E . J . Bottomley" , "devel@linuxdriverproject.org" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" Subject: RE: [Resend Patch 1/3] Vmbus: Add function to report available ring buffer to write in total ring size percentage Thread-Topic: [Resend Patch 1/3] Vmbus: Add function to report available ring buffer to write in total ring size percentage Thread-Index: AQHTxi61HVmVjtlmGEedCNp7Dar+hqPmNDBBgAAJfjA= Date: Wed, 28 Mar 2018 22:42:45 +0000 Message-ID: References: <20180328004840.22787-1-longli@linuxonhyperv.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:4898:80e8::2e0] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR2101MB0811;7:t4h9HpBYCzlli6ww1a0q2pCBYB77vH6lbrr2Ea4SaK0ZJX3CVynmOpYkkNg3IHNHB16Exv7XpYQHepqEdVvoC/kkYvNnIG5ArMSN/VApP0NWrvZT4xA55yDC+smmtdlJd6XlX83DQN7D32XHUEiEw921QolsohNivxgbp3Yyg3RjEN2rOadIihb+/NtZl4/y3kfdSTlavlYAcA5GVAlMQqMdLgBLWqJibmSpKpq8+kuHtGrTB3aPtoVcMgqZT+do;20:bqkn5QRCwYS30GywU3cj1zEv5FtizucB8fdyJPrlVy8Mjb5TxvvaIoNp32dIhnt3+a3z6HuaTUAT/v69JGZ9/1oLOfuBtfe9KNM75cpMbKVq+rT8rjlsd2x2BlmVYgOcOF5s8EQMcHhTARDcxSIREykqxiJWytQWSKDuz3MUClo= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 2285a291-50c1-455b-6ca6-08d594fd39a8 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:MWHPR2101MB0811; x-ms-traffictypediagnostic: MWHPR2101MB0811: authentication-results: spf=none (sender IP is ) smtp.mailfrom=longli@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501327)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(6072148)(201708071742011);SRVR:MWHPR2101MB0811;BCL:0;PCL:0;RULEID:;SRVR:MWHPR2101MB0811; x-forefront-prvs: 06259BA5A2 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39860400002)(396003)(376002)(39380400002)(346002)(199004)(189003)(6246003)(6116002)(186003)(2900100001)(6436002)(53936002)(54906003)(76176011)(102836004)(3280700002)(99286004)(6506007)(8936002)(86362001)(110136005)(46003)(10090500001)(10290500003)(81166006)(476003)(8676002)(74316002)(25786009)(105586002)(86612001)(229853002)(33656002)(478600001)(55016002)(14454004)(7696005)(68736007)(7736002)(22452003)(11346002)(8990500004)(316002)(3660700001)(5250100002)(5660300001)(2906002)(97736004)(4326008)(9686003)(486005)(446003)(106356001)(81156014)(305945005)(486005);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR2101MB0811;H:MWHPR2101MB0729.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: M5dOQQtPBC6F+QlW1sPNApAfucbAWAU3DXjPTKli/yIziPnlndlzngF4WtztlONByNCIeOWlCwLoaaiE4PXI7tC1f0E/y80KyKr1+VeQjWUFjtVAeZKFEHs2PFUx3kJjl9CXLNm8Pmx/dWNCRMQCofYPOHfzU32ANyvl4zWOAwhZPBUYYKJUNIrFV0+ijsj7tfHx+JUigzW2ER6SgiCxq4sDB65eYWPOZ40I/2oHy5VwSfWs0YMDg07Yd++8Y2ygF+vKfzJmpurn0XlKUg3vLgB4SpIfIKjEFSmKumufNVDVUFErBkM084ynieK1q4LjJ8LujfUQPxvx0ykDcPl1ww== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2285a291-50c1-455b-6ca6-08d594fd39a8 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2018 22:42:45.6398 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR2101MB0811 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Subject: Re: [Resend Patch 1/3] Vmbus: Add function to report available r= ing > buffer to write in total ring size percentage >=20 >=20 > Long, >=20 > > Netvsc has a function to calculate how much ring buffer in percentage > > is available to write. This function is also useful for storvsc and > > other vmbus devices. >=20 > What is the submission strategy for this series? Do you expect it to go > through net or scsi? If the latter, I'll need an ack from davem. Martin, I hope this patch set goes through SCSI, because it's purpose is to improve= storvsc. If this strategy is not possible, I can resubmit the 1st two patches to net= , and the 3rd patch to scsi after the 1st two are merged. Long >=20 > -- > Martin K. Petersen Oracle Linux Engineering