Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754265AbcJTSFQ (ORCPT ); Thu, 20 Oct 2016 14:05:16 -0400 Received: from mail-dm3nam03on0119.outbound.protection.outlook.com ([104.47.41.119]:19456 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750720AbcJTSFN (ORCPT ); Thu, 20 Oct 2016 14:05:13 -0400 From: Haiyang Zhang To: Jarod Wilson , "linux-kernel@vger.kernel.org" CC: "netdev@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , KY Srinivasan , "Michael S. Tsirkin" , Shrikrishna Khare , "VMware, Inc." , Wei Liu , Paul Durrant , David Kershner Subject: RE: [PATCH net-next v2 6/9] net: use core MTU range checking in virt drivers Thread-Topic: [PATCH net-next v2 6/9] net: use core MTU range checking in virt drivers Thread-Index: AQHSKvs1xJzpCjH/nUqCndn8IhkF9qCxomng Date: Thu, 20 Oct 2016 18:05:10 +0000 Message-ID: References: <20161019023333.15760-1-jarod@redhat.com> <20161020175524.6184-1-jarod@redhat.com> <20161020175524.6184-7-jarod@redhat.com> In-Reply-To: <20161020175524.6184-7-jarod@redhat.com> 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: [72.74.33.140] x-ms-office365-filtering-correlation-id: 34c843b1-f2c5-4923-df4b-08d3f913a225 x-microsoft-exchange-diagnostics: 1;BN6PR03MB2482;7:PoYs4Nx7ODKd29udX+ixVo2ZtsVyNEfpgJXTN5tG/ktSiAEmI/DL1nC+doYX7AdvY60HE6Vgy8U44znQsXf2j3/xrlTzrKniVSG3mirWebs2jZHJQ+td12EoM143sVKUNZH+zf9oRFJELTFc/1CKAtDa3kvI3EZUuvUqKhr/qkpMyiMUOF3/Zc6CFXLU0ACZYqOxPFHgbC0lfL3DiAh5Ju368J/g9X0B/1lh+IHvklcJaS1uXtRinfP7RrQhYi4hKI8sdtQKv4cb/U1g8DfOy0WZumuzts9W1pj+IPT5rcK0hWjmWe7QVg1fW5z88gbiRl+1HGqBDz2YV8RyIaVeYArvpaJIIhr8LAoycujHSUsB6OGcyesL1COKEaLAydHQ x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2482; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(61668805478150)(9452136761055)(174360191007938)(70601490899591); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040176)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038);SRVR:BN6PR03MB2482;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2482; x-forefront-prvs: 01018CB5B3 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(13464003)(199003)(189002)(377454003)(5001770100001)(101416001)(19580395003)(86612001)(10090500001)(122556002)(19580405001)(2900100001)(76576001)(189998001)(5002640100001)(76176999)(54356999)(33656002)(99286002)(77096005)(2501003)(97736004)(106356001)(105586002)(106116001)(8666005)(2950100002)(50986999)(8936002)(9686002)(3846002)(6116002)(102836003)(7846002)(305945005)(586003)(87936001)(74316002)(5660300001)(7416002)(7736002)(7696004)(81166006)(3660700001)(86362001)(8676002)(81156014)(66066001)(8990500004)(5005710100001)(10290500002)(68736007)(2906002)(4326007)(92566002)(3280700002)(10400500002)(7059030);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR03MB2482;H:BLUPR03MB1412.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" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2016 18:05:10.5914 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2482 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id u9KI5LcV028416 Content-Length: 1645 Lines: 54 > -----Original Message----- > From: Jarod Wilson [mailto:jarod@redhat.com] > Sent: Thursday, October 20, 2016 1:55 PM > To: linux-kernel@vger.kernel.org > Cc: Jarod Wilson ; netdev@vger.kernel.org; > virtualization@lists.linux-foundation.org; KY Srinivasan > ; Haiyang Zhang ; Michael S. > Tsirkin ; Shrikrishna Khare ; VMware, > Inc. ; Wei Liu ; Paul > Durrant ; David Kershner > > Subject: [PATCH net-next v2 6/9] net: use core MTU range checking in > virt drivers > > hyperv_net: > - set min/max_mtu, per Haiyang, after rndis_filter_device_add > > virtio_net: > - set min/max_mtu > - remove virtnet_change_mtu > > vmxnet3: > - set min/max_mtu > > xen-netback: > - min_mtu = 0, max_mtu = 65517 > > xen-netfront: > - min_mtu = 0, max_mtu = 65535 > > unisys/visor: > - clean up defines a little to not clash with network core or add > redundat definitions > > CC: netdev@vger.kernel.org > CC: virtualization@lists.linux-foundation.org > CC: "K. Y. Srinivasan" > CC: Haiyang Zhang > CC: "Michael S. Tsirkin" > CC: Shrikrishna Khare > CC: "VMware, Inc." > CC: Wei Liu > CC: Paul Durrant > CC: David Kershner > Signed-off-by: Jarod Wilson > --- The hv_netvsc changes look fine. Thanks. Reviewed-by: Haiyang Zhang