Received: by 10.213.65.68 with SMTP id h4csp944573imn; Wed, 28 Mar 2018 16:24:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx48fN60x/+6LOPiRbBcgzMLjtb6GQak4jxxItNILAoZtvOVvWLSoIwT+CkOktAnTHqNgjdiO X-Received: by 10.98.78.21 with SMTP id c21mr4485919pfb.107.1522279460853; Wed, 28 Mar 2018 16:24:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522279460; cv=none; d=google.com; s=arc-20160816; b=S7svrGFbu6DmEgHvn7YO8oW4gFMgpvvYddrqHltSNaRt17sNuUiVk4CS+y0FubyltW aZhVhUAluHUxz1+BA+QE2R0E5ipDYDIDxZRUiA7UsVAyJHCSqS27NEZzXdDrYXjbISFk L3WVz0zUof51oJ25YywOoLMxY9kl8q88ctmJoHf8WQpUZ6jRRA69WH2tSLqirYhpvbhB GaGhZ1eJXMiYlpxMRGrT3dfPW8NjtT/wgHT7i/A3vh9IJ9diLa/hvJZMSqwu9NNjW2sh cr0gjeDZ7jwrJaYf//rg+RR/x1quQBWVponob2QEitZQ0AKbyM222C4pttoX0w7Wbp5T 7DRQ== 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:msip_labels :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=5b07DR5+EOoICTGblvXhticYXCJ1dZP2b6zHzwAbgRk=; b=MprX1QrksFaOrQUulj/MV4U638qsIo1XJdKL7ijaPhuG5s7WWb/x21kmCKmk/juDJn 9a9jmcJKvTxPZvCCjPjwmIzsZ9NZaQ7hMxoBVc3YUJf/u58GIftIKFjbp9icxk1x9jEY pTW2zuTk0ssxtFz+RCCx01dCdztjFKN3DVhUzL3jivkIPDzT/2yE7fPcA95YhSC+fvw6 lverQmwd8cxxtcCeuXLDPdJEYgkGtpzGnl/TqUI/15WcXL064BgdtcpH4R57fD6U+jIB bz7QB9OAQdD8VuSbJIrt8LxcLBr4dxniXOJ1DGMSD4ACvylVmjXKVHGaXeZdVWIN6512 d3qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=I7ZaKFPB; 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 132si3192550pgb.470.2018.03.28.16.24.06; Wed, 28 Mar 2018 16:24:20 -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=I7ZaKFPB; 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 S1751403AbeC1XW6 (ORCPT + 99 others); Wed, 28 Mar 2018 19:22:58 -0400 Received: from mail-sn1nam02on0111.outbound.protection.outlook.com ([104.47.36.111]:63471 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750774AbeC1XWz (ORCPT ); Wed, 28 Mar 2018 19:22:55 -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=5b07DR5+EOoICTGblvXhticYXCJ1dZP2b6zHzwAbgRk=; b=I7ZaKFPB4zNHrNoDRz3OWPKhDtnjvGdQVc/atxqxQWdL75PBi/6ZGv5+6JE0ysqCI/2JGD9djDxIaI8p9WFVBDBBANM+cjXLr4zDvUm0nIWL4EVr/x2iuMiiMl7KjV+Bbm14vZ/iLEyDlS/9gecSdYR7IWk9AoZBPSgJXJmkpdE= Received: from DM5PR2101MB0917.namprd21.prod.outlook.com (52.132.132.162) by DM5PR2101MB1061.namprd21.prod.outlook.com (52.132.128.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.653.1; Wed, 28 Mar 2018 23:22:53 +0000 Received: from DM5PR2101MB0917.namprd21.prod.outlook.com ([fe80::6c39:e7e2:1c9f:aa67]) by DM5PR2101MB0917.namprd21.prod.outlook.com ([fe80::6c39:e7e2:1c9f:aa67%5]) with mapi id 15.20.0653.006; Wed, 28 Mar 2018 23:22:53 +0000 From: Stephen Hemminger To: Long Li , "Martin K. Petersen" , Long Li CC: KY Srinivasan , Haiyang Zhang , "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: AQHTxi618UT9UDkCA0ercTSDcW3/YaPmNC3DgAALo4CAAAreQA== Date: Wed, 28 Mar 2018 23:22:53 +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: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=sthemmin@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-03-28T23:22:52.0905319Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General x-originating-ip: [204.195.71.95] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB1061;7:BBIaSN4xp57KW7yuJLvanerWF0sCYTw9cziyTEeV/y3ueHX/co0fDgI2PAPuVZHKgmMagnPvtXTpVDl9FlIid9th1sGlbfRuu4qxrVMEP5HqJ2kdC66+uwXs/2iNdQbdaQmWvmih0q8XtBMQMUdYBQSPIoxxQg/rRTXS05glkLUHKMAVti07UArl3TVDmfIQJe3fVfArifmVaAlY9zhxDX4hJrR3JWmm/nDjjkzMZoCnPEIFxZp7ZaMyU+ubqh8w;20:N78QiTZgqjm1499wf/jHPIMRJByOO+kKlXSj0LEFBtUTR0E2bXQke7i3uJ48uKG+iZIQahIwg4M6tjdSqcCavMF7OBQ7DFAaYAatLpvUwDbvPw+NBtWgJhgxZcHU+M4cLJZ5BYagAdV5RwvO5iBT0tCKSKVzHNJ20KvDsLvMjK4= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 21513816-9bc5-456d-eb41-08d59502d4fe x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(2017052603328)(7193020);SRVR:DM5PR2101MB1061; x-ms-traffictypediagnostic: DM5PR2101MB1061: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(9452136761055)(146099531331640); 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)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB1061;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1061; x-forefront-prvs: 06259BA5A2 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(366004)(39380400002)(396003)(376002)(39860400002)(13464003)(199004)(189003)(6436002)(476003)(305945005)(486005)(486005)(54906003)(110136005)(22452003)(53936002)(446003)(229853002)(8990500004)(4326008)(7736002)(478600001)(26005)(55016002)(5660300001)(74316002)(14454004)(86612001)(10090500001)(11346002)(6346003)(25786009)(81156014)(81166006)(99286004)(76176011)(86362001)(3280700002)(8676002)(2900100001)(105586002)(102836004)(6246003)(68736007)(6506007)(9686003)(106356001)(316002)(3846002)(6116002)(1511001)(5250100002)(53546011)(7696005)(97736004)(33656002)(2906002)(3660700001)(10290500003)(66066001)(8936002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1061;H:DM5PR2101MB0917.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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=sthemmin@microsoft.com; x-microsoft-antispam-message-info: 3RnzbYH7l3DIGM/e4BlkKyAtuTB2vOXDdzjmbgiBi4zQzty2T2YrD4QhaloImASeyf57+pXm4ogF/BoRmXneZGg2QDzBQgj4NnxSd43ytfW5nTdfjtKzzTOwSqM67/JGrdXu7cbFOkcPCos9ycfWFZC3HaoQ1gfxUoUX56x2Y10zAK+HpK0ivOrOuvkwlE73rWJHdMb7gg7HBpUOR66Y3Prd6u2XN1fsflBjDmbnMMycSjX3dsJLHd7ezV0HMDWosNJFKfBL2A4C6gZQ//GyMV6ZXVsMRW3MHI5/rJQQa242EMsKfE77bBGEmALiHUqnyk2tKHQCvHdgHpm+nwvH6A== 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: 21513816-9bc5-456d-eb41-08d59502d4fe X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2018 23:22:53.7001 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1061 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Maybe best through greg's char-misc tree since it has generic hv code and s= ometime updates both network and scsi. Alternatively, put common code through one tree, and hold off the network = device change till next release. -----Original Message----- From: Long Li=20 Sent: Wednesday, March 28, 2018 3:43 PM To: Martin K. Petersen ; Long Li Cc: KY Srinivasan ; Haiyang Zhang ; Stephen Hemminger ; James E . J . Bottomley ; devel@linuxdriverproject.org; linux-scsi@vger.kernel.or= g; linux-kernel@vger.kernel.org; netdev@vger.kernel.org Subject: RE: [Resend Patch 1/3] Vmbus: Add function to report available rin= g buffer to write in total ring size percentage > 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