From: David Miller Subject: Re: [PATCH V2 net-next] liquidio: support use of ethtool to set link speed of CN23XX-225 cards Date: Mon, 07 May 2018 23:31:35 -0400 (EDT) Message-ID: <20180507.233135.867831428989140645.davem@davemloft.net> References: <20180504180719.GA2053@felix-thinkpad.cavium.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, raghu.vatsavayi@cavium.com, derek.chickles@cavium.com, satananda.burla@cavium.com, weilin.chang@cavium.com To: felix.manlunas@cavium.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:51928 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753886AbeEHDbg (ORCPT ); Mon, 7 May 2018 23:31:36 -0400 In-Reply-To: <20180504180719.GA2053@felix-thinkpad.cavium.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Felix Manlunas Date: Fri, 4 May 2018 11:07:19 -0700 > From: Weilin Chang > > Support setting the link speed of CN23XX-225 cards (which can do 25Gbps or > 10Gbps) via ethtool_ops.set_link_ksettings. > > Also fix the function assigned to ethtool_ops.get_link_ksettings to use the > new link_ksettings api completely (instead of partially via > ethtool_convert_legacy_u32_to_link_mode). > > Signed-off-by: Weilin Chang > Acked-by: Raghu Vatsavayi > Signed-off-by: Felix Manlunas > --- > Patch Change Log: > V1 -> V2: > In lio_set_link_ksettings(), set the order of local variable > declarations from longest to shortest line. Applied.