Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933592AbcK2NKZ (ORCPT ); Tue, 29 Nov 2016 08:10:25 -0500 Received: from mail-bl2nam02on0083.outbound.protection.outlook.com ([104.47.38.83]:38656 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756878AbcK2NKQ (ORCPT ); Tue, 29 Nov 2016 08:10:16 -0500 X-Greylist: delayed 3565 seconds by postgrey-1.27 at vger.kernel.org; Tue, 29 Nov 2016 08:10:16 EST From: "Mody, Rasesh" To: Philippe Reynes , "Kalluru, Sudarsana" , Dept-GE Linux NIC Dev , "davem@davemloft.net" CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] net: brocade: bna: use new api ethtool_{get|set}_link_ksettings Thread-Topic: [PATCH] net: brocade: bna: use new api ethtool_{get|set}_link_ksettings Thread-Index: AQHSScoahqA2MoufnEGBhvkLztDQUKDvkgBQ Date: Tue, 29 Nov 2016 07:37:30 +0000 Message-ID: References: <1480373539-3257-1-git-send-email-tremyfr@gmail.com> In-Reply-To: <1480373539-3257-1-git-send-email-tremyfr@gmail.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=Rasesh.Mody@cavium.com; x-originating-ip: [2601:646:8180:be50:2896:ddeb:7a63:2326] x-ms-office365-filtering-correlation-id: c46123e6-efa4-4b32-faa4-08d4182a9342 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY4PR07MB3045; x-microsoft-exchange-diagnostics: 1;CY4PR07MB3045;7:jGuTAJUT5dziZpS0LjoljQHE/57hhxb1QhwIWavIdl7yfE70KaBJ5xzcAUiaH8YRK8Egg8MU4jlkTsDUlbDqxV35VOJ6o95dQKOH2ocoG3J1hQ4K6mbb6Gm++31ATolIK1Z4xsYAiOk7g0Kpwomfo+ai8iCN2i45EutrNgYhVBY8qHw+0Sf/5ZhiJpWdc3AuJkEzuEgINE2sfmK8md7P0u4xUEBT65la6sUmFD3KR96OBIjlRvKYuiMWSMVpsfGcxGbzXtfeZRdjCwOxibzoBQCZHN7tY2rz12wtcjrSNOVlsAjDi4gqAu2pyRq+oBwKau2jX+KjbJG9ilGQrC9w1FRncHGq9bpwVZaTt9dGEHTXyjZRNk0Z7oX8RmK1GZDJt2w6XtDhXS8G1XvT4knF67gs0wbxcEBZ4gBt4zFK6/8v93SIz8JcXSsjrKVjYY00TRwYwZsOhK+zhkSOvy2DNg== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6060326)(6040361)(6045199)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(6061324)(20161123564025)(20161123562025)(20161123560025)(20161123555025);SRVR:CY4PR07MB3045;BCL:0;PCL:0;RULEID:;SRVR:CY4PR07MB3045; x-forefront-prvs: 01415BB535 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(189002)(377454003)(199003)(39060400001)(102836003)(229853002)(76576001)(8936002)(2906002)(38730400001)(4326007)(6116002)(39400400001)(8676002)(39450400002)(39380400001)(77096006)(97736004)(39410400001)(6506003)(3280700002)(92566002)(5001770100001)(2501003)(122556002)(81166006)(81156014)(3660700001)(189998001)(2900100001)(50986999)(105586002)(5660300001)(33656002)(7736002)(74316002)(9686002)(305945005)(86362001)(54356999)(7846002)(106116001)(76176999)(7696004)(68736007)(106356001)(99286002)(101416001)(2950100002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR07MB3045;H:BLUPR0701MB1572.namprd07.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2016 07:37:30.1823 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3045 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 uATDAZUk022157 Content-Length: 720 Lines: 20 > From: Philippe Reynes [mailto:tremyfr@gmail.com] > Sent: Monday, November 28, 2016 2:52 PM > > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Acked-by: Rasesh Mody > --- > drivers/net/ethernet/brocade/bna/bnad_ethtool.c | 54 +++++++++++++-- > -------- > 1 files changed, 30 insertions(+), 24 deletions(-) > > diff --git a/drivers/net/ethernet/brocade/bna/bnad_ethtool.c > b/drivers/net/ethernet/brocade/bna/bnad_ethtool.c > index 31f61a7..2865939 100644 > --- a/drivers/net/ethernet/brocade/bna/bnad_ethtool.c > +++ b/drivers/net/ethernet/brocade/bna/bnad_ethtool.c