From: Ben Hutchings Subject: Re: [PATCH 1/1 v2] Ethtool: Add EEE support Date: Fri, 8 Jun 2012 19:11:29 +0100 Message-ID: <1339179089.2648.5.camel@bwh-desktop.uk.solarflarecom.com> References: <1339010124-23413-1-git-send-email-yuvalmin@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: , , To: Yuval Mintz Return-path: Received: from webmail.solarflare.com ([12.187.104.25]:54165 "EHLO ocex02.SolarFlarecom.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751394Ab2FHSLe (ORCPT ); Fri, 8 Jun 2012 14:11:34 -0400 In-Reply-To: <1339010124-23413-1-git-send-email-yuvalmin@broadcom.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 2012-06-06 at 22:15 +0300, Yuval Mintz wrote: > This patch adds 2 new ethtool commands which can be > used to manipulate network interfaces' support in > EEE. [...] > @@ -3423,6 +3514,12 @@ static const struct option { > " [ hex on|off ]\n" > " [ offset N ]\n" > " [ length N ]\n" }, > + { "--get-eee", 1, do_geee, "Get EEE settings"}, > + { "--set-eee", 1, do_seee, "Set EEE settings", > + " [ eee on|off ]\n" > + " [ advertise %x ]\n" > + " [ tx-lpi on|off ]\n" > + " [ tx-timer %d ]\n"}, [...] Another thing: the long options are generally --foo to set/change foo settings and --show-foo to get/show foo settings. Please rename these options to match. Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.