From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752636AbcFKT2S (ORCPT ); Sat, 11 Jun 2016 15:28:18 -0400 Received: from mail-bn1bon0138.outbound.protection.outlook.com ([157.56.111.138]:21408 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752033AbcFKT2R convert rfc822-to-8bit (ORCPT ); Sat, 11 Jun 2016 15:28:17 -0400 From: Haiyang Zhang To: David Miller CC: "netdev@vger.kernel.org" , KY Srinivasan , "olaf@aepfle.de" , "vkuznets@redhat.com" , "linux-kernel@vger.kernel.org" , "driverdev-devel@linuxdriverproject.org" Subject: RE: [PATCH net-next,v2] tools: hv: Add a script to help bonding synthetic and VF NICs Thread-Topic: [PATCH net-next,v2] tools: hv: Add a script to help bonding synthetic and VF NICs Thread-Index: AQHRw1BF7Qp2PFzIQ0iYT5EsqYbe05/jdlQAgAEnqsA= Date: Sat, 11 Jun 2016 18:55:02 +0000 Message-ID: References: <1465593792-31672-1-git-send-email-haiyangz@microsoft.com> <20160610.181336.132305021219588924.davem@davemloft.net> In-Reply-To: <20160610.181336.132305021219588924.davem@davemloft.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=haiyangz@microsoft.com; x-originating-ip: [173.48.116.247] x-ms-office365-filtering-correlation-id: 12fdb816-d0b7-4b06-9049-08d39229e503 x-microsoft-exchange-diagnostics: 1;DM2PR0301MB0782;5:6AOc6XIUyPy8XZNQm2KxjhcayWlJazcZjF1SUw7cDy2kVZeIn2JImihT8E/l/dMPE9YafNVCGKfiUDUdl6B7zwRLoHdB1BhdmwONYQ4DNN+oCH04WLePl/02kLZohEdN8m6FhhfTzmBNJZdEj8hIig==;24:dlZjAGcZIXcJU3s3H1jw+X4O7jsDa/sH/GKgCgu0C1HRauWqYkWJm2fO9z5eiw3I0cfw+4Sy8VvCSBiyH5OCBaP0lPYpn7OgjQFhLkUWovA=;7:NppP9oZtX5EEAH22jeG/c/wC6Mqf2nMI9bmHdltkxKbBk6QvcjAXma70l5vMkfZNDKdFFVJ8gPgk9BVYHcah9Shpc7e4HnSjFEAsjpe4fIJDs5y6GVV3TUWQiFOUcq5rkVQUb2jDh6uYSnymlaP8fJ/cHgK470ljw3roDgf4Hr5UyeoNAy7IcaOHXz9eLSMqp08Z8Lpebb4SMsYgF6efzZF2+mqe7eMjjNk17jlXnpA= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0782; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(61426038)(61427038);SRVR:DM2PR0301MB0782;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0782; x-forefront-prvs: 0970508454 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(199003)(189002)(377454003)(13464003)(2900100001)(2950100001)(33656002)(9686002)(81166006)(81156014)(10090500001)(5005710100001)(586003)(77096005)(10400500002)(5008740100001)(74316001)(5004730100002)(5002640100001)(3660700001)(68736007)(19580405001)(8990500004)(10290500002)(122556002)(92566002)(99286002)(8936002)(8676002)(19580395003)(66066001)(97736004)(86362001)(106116001)(2906002)(3280700002)(106356001)(11100500001)(4326007)(86612001)(5003600100002)(189998001)(3846002)(102836003)(6116002)(101416001)(87936001)(105586002)(76176999)(110136002)(76576001)(54356999)(50986999)(142933001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM2PR0301MB0782;H:CY1PR03MB2284.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2016 18:55:02.1825 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0782 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: David Miller [mailto:davem@davemloft.net] > Sent: Friday, June 10, 2016 9:14 PM > To: Haiyang Zhang > Cc: netdev@vger.kernel.org; KY Srinivasan ; > olaf@aepfle.de; vkuznets@redhat.com; linux-kernel@vger.kernel.org; > driverdev-devel@linuxdriverproject.org > Subject: Re: [PATCH net-next,v2] tools: hv: Add a script to help bonding > synthetic and VF NICs > > From: Haiyang Zhang > Date: Fri, 10 Jun 2016 14:23:12 -0700 > > > This script helps to create bonding network devices based on synthetic NIC > > (the virtual network adapter usually provided by Hyper-V) and the > matching > > VF NIC (SRIOV virtual function). So the synthetic NIC and VF NIC can > > function as one network device, and fail over to the synthetic NIC if VF is > > down. > > > > Signed-off-by: Haiyang Zhang > > Reviewed-by: K. Y. Srinivasan > > --- > > v2: Make it to be distro neutral. > > This tool doesn't configure anything. > > It fishes information out of sysfs and prints it out. > > I don't think this is useful, not appropriate for the kernel > tools subdirectory at all. > > When I said make it distro neutral, that meant if you wanted to submit > this again you were expected to do the hard work of making it > configure things properly on all major distributions. The major distros supported by Hyper-V include RHEL, SLES, and Ubuntu. I will put them into the configuration scripts -- is this sufficient? Thanks, - Haiyang From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haiyang Zhang Subject: RE: [PATCH net-next,v2] tools: hv: Add a script to help bonding synthetic and VF NICs Date: Sat, 11 Jun 2016 18:55:02 +0000 Message-ID: References: <1465593792-31672-1-git-send-email-haiyangz@microsoft.com> <20160610.181336.132305021219588924.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "olaf@aepfle.de" , "netdev@vger.kernel.org" , "driverdev-devel@linuxdriverproject.org" , "linux-kernel@vger.kernel.org" To: David Miller Return-path: In-Reply-To: <20160610.181336.132305021219588924.davem@davemloft.net> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" List-Id: netdev.vger.kernel.org > -----Original Message----- > From: David Miller [mailto:davem@davemloft.net] > Sent: Friday, June 10, 2016 9:14 PM > To: Haiyang Zhang > Cc: netdev@vger.kernel.org; KY Srinivasan ; > olaf@aepfle.de; vkuznets@redhat.com; linux-kernel@vger.kernel.org; > driverdev-devel@linuxdriverproject.org > Subject: Re: [PATCH net-next,v2] tools: hv: Add a script to help bonding > synthetic and VF NICs > > From: Haiyang Zhang > Date: Fri, 10 Jun 2016 14:23:12 -0700 > > > This script helps to create bonding network devices based on synthetic NIC > > (the virtual network adapter usually provided by Hyper-V) and the > matching > > VF NIC (SRIOV virtual function). So the synthetic NIC and VF NIC can > > function as one network device, and fail over to the synthetic NIC if VF is > > down. > > > > Signed-off-by: Haiyang Zhang > > Reviewed-by: K. Y. Srinivasan > > --- > > v2: Make it to be distro neutral. > > This tool doesn't configure anything. > > It fishes information out of sysfs and prints it out. > > I don't think this is useful, not appropriate for the kernel > tools subdirectory at all. > > When I said make it distro neutral, that meant if you wanted to submit > this again you were expected to do the hard work of making it > configure things properly on all major distributions. The major distros supported by Hyper-V include RHEL, SLES, and Ubuntu. I will put them into the configuration scripts -- is this sufficient? Thanks, - Haiyang From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 75BCC1C1178 for ; Sat, 11 Jun 2016 18:55:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 70E64957B5 for ; Sat, 11 Jun 2016 18:55:05 +0000 (UTC) Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V3V7CdokspMC for ; Sat, 11 Jun 2016 18:55:04 +0000 (UTC) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0148.outbound.protection.outlook.com [207.46.100.148]) by hemlock.osuosl.org (Postfix) with ESMTPS id 5379B957BB for ; Sat, 11 Jun 2016 18:55:04 +0000 (UTC) From: Haiyang Zhang Subject: RE: [PATCH net-next,v2] tools: hv: Add a script to help bonding synthetic and VF NICs Date: Sat, 11 Jun 2016 18:55:02 +0000 Message-ID: References: <1465593792-31672-1-git-send-email-haiyangz@microsoft.com> <20160610.181336.132305021219588924.davem@davemloft.net> In-Reply-To: <20160610.181336.132305021219588924.davem@davemloft.net> Content-Language: en-US MIME-Version: 1.0 List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: David Miller Cc: "olaf@aepfle.de" , "netdev@vger.kernel.org" , "driverdev-devel@linuxdriverproject.org" , "linux-kernel@vger.kernel.org" > -----Original Message----- > From: David Miller [mailto:davem@davemloft.net] > Sent: Friday, June 10, 2016 9:14 PM > To: Haiyang Zhang > Cc: netdev@vger.kernel.org; KY Srinivasan ; > olaf@aepfle.de; vkuznets@redhat.com; linux-kernel@vger.kernel.org; > driverdev-devel@linuxdriverproject.org > Subject: Re: [PATCH net-next,v2] tools: hv: Add a script to help bonding > synthetic and VF NICs > > From: Haiyang Zhang > Date: Fri, 10 Jun 2016 14:23:12 -0700 > > > This script helps to create bonding network devices based on synthetic NIC > > (the virtual network adapter usually provided by Hyper-V) and the > matching > > VF NIC (SRIOV virtual function). So the synthetic NIC and VF NIC can > > function as one network device, and fail over to the synthetic NIC if VF is > > down. > > > > Signed-off-by: Haiyang Zhang > > Reviewed-by: K. Y. Srinivasan > > --- > > v2: Make it to be distro neutral. > > This tool doesn't configure anything. > > It fishes information out of sysfs and prints it out. > > I don't think this is useful, not appropriate for the kernel > tools subdirectory at all. > > When I said make it distro neutral, that meant if you wanted to submit > this again you were expected to do the hard work of making it > configure things properly on all major distributions. The major distros supported by Hyper-V include RHEL, SLES, and Ubuntu. I will put them into the configuration scripts -- is this sufficient? Thanks, - Haiyang _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel