summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-25ethtool: Update ethtool-copy.hBen Hutchings1-7/+100
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-25ethtool: Remove support for RX hashing by portBen Hutchings2-10/+1
The kernel-side support for this was removed by: commit 59089d8d162ddcb5c434672e915331964d38a754 Author: Santwona Behera <santwona.behera@sun.com> Date: Fri Feb 20 00:58:13 2009 -0800 ethtool: Add RX pkt classification interface Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-23Command line help does not require DEVNAME on command line.Jeff Garzik1-1/+2
Reflect this in usage text. Patch via Robert Scheck <robert@fedoraproject.org>, possibly other sources as well? Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-06Change version from "6" to "6git", indicating it is not truly v6.Jeff Garzik1-1/+1
Should have done this immediately after v6 release. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-06man page: Add GRO and LRO to the full description of the -K optionBen Hutchings1-0/+6
Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-06ethtool: Support arbitrary speedsBen Hutchings2-34/+12
The speed and speed_hi fields of struct ethtool_cmd together represent a value in units of Mbit/s. The valid speed settings are hardware- dependent and should be checked by the driver. Remove our validation and allow arbitrary positive values. Continue to report 0 and -1 as "Unknown!" since some drivers will report these invalid values when the link is down. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-06Merge several minor changes from Debian.Jeff Garzik1-41/+49
Namely, wrap ioctl send so that Debian can more easily support kernels older than 2.4.x. We don't support that, but they wish to. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-06igb, ixgbe: Trim trailing whitespace.Jeff Garzik2-65/+65
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-06ethtool: Manual page correctionsBen Hutchings1-3/+3
Fix the following nits, too small to deserve separate patches: There is a separator missing between -K and --offload. The first mention of -p says the long option is --blink, but it's really --identify. The [N] following -p has the brackets in italics, not the N. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2009-03-06ethtool: Show short message for syntax errorBen Hutchings1-7/+16
In case of a syntax error it's likely to be more helpful to just say that rather than showing the entire usage information, which is now very long. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-06Get/set GRO settings.Jeff Garzik3-8/+39
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-03-06Explicitly ship GPLv2 license.Jeff Garzik2-1/+340
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-01-15Directly reference GPL v2 via new LICENSE file.Jeff Garzik2-1/+4
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-09-13ethtool: Add register dump support for all r8169 driver cardsAndrew Paprocki1-46/+64
This adds all MAC versions currently found in the r8169 to the RealTek table and modifies the dump logic to handle card versions >= RTL8169 instead of specifically looking at the few previously supported cards. Signed-off-by: Andrew Paprocki <andrew@ishiboo.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-09-13ethtool: command line support for lroBen Hutchings1-6/+47
Add lro support to command in similar manner to TSO, GSO, etc. Based on patch by Stephen Hemminger <http://article.gmane.org/gmane.linux.network/88124>. My changes: - Changed error return codes for setting LRO to be unique. - Report failure to get device flags, consistent with other offload settings. - Fixed code spacing. Tested with the sfc driver. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-09-13Add support for rx flow hash configuration in a network deviceSantwona Behera2-0/+334
Added new interfaces to ethtool to configure receive network flow distribution across multiple rx rings using hashing. Signed-off-by: Santwona Behera <santwona.behera@sun.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-09-13ethtool: Use ethtool_cmd->speed_hiBrandon Philips2-122/+66
struct ethtool_cmd now has a speed_hi field to support more than 65535 Mb devices, use it. Also, pull in the ethtool-copy.h file without the __KERNEL__ sections. Signed-off-by: Brandon Philips <bphilips@suse.de> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-01-12ethtool: correct man page for advertise mask value of 10gigAuke Kok1-1/+1
10 gigabit is defined as 0x1000 in the advertise mask. The man page mistakenly lists 0x800. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-12ethtool: update license field in specfile to be correctly definedAuke Kok1-1/+1
RPM uses "License" as field and not "Copyright". Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-12-01ethtool: fix typo on setting speed 10000Jesse Brandeburg1-1/+1
fix the typo in speed 10000 setting. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-11-23ethtool: Fix coalesce settings copy+paste typoAuke Kok1-2/+2
Coalesce setting errors use the same error messages as the descriptor ring errors. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-11-23ethtool: add support for supporting 10000baseTJesse Brandeburg1-0/+7
there is missing support in ethtool for reporting 10000baseT as SUPPORTED_10000baseT_Full. The code seems to be half implemented because the "advertising" field has the implementation. this patch just adds it for supported reporting. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-05ethtool: Add e1000e reg dump support (using e1000 decode function)Auke Kok1-0/+1
The e1000 register dump code can print out e1000e register dump information as well, so enable it for e1000e devices. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-09-20ethtool: marvell register updateStephen Hemminger1-20/+36
Update the decode of sky2 registers. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-09-13ethtool: add register dump support for intel 82598 chipsets (ixgbe driver)Nicholas Nunley4-1/+1021
Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-09-13ethtool: add register dump support for intel 82575 chipsets (igb driver)Nicholas Nunley4-1/+868
Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-07-26Release version 6.Jeff Garzik3-2/+21
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-07-26Update embedded copy of ethtool.h from kernel 2.6.23-rc1.Jeff Garzik2-98/+234
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-07-26Trim trailing whitespace.Jeff Garzik3-7/+7
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-07-26ethtool: add register dump support for SMSC LAN911x/LAN921xSteve Glendinning4-1/+98
This patch adds support for SMSC's LAN911x and LAN921x families of embedded ethernet controllers to ethtool's dump registers (-d) command. This patch is for use with the smsc911x driver. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-07-10ethtool: new ID to decode the registers of the 8101E (realtek)Francois Romieu1-0/+1
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-05-24ethtool: new ID to decode the registers of the 8168 (realtek)Francois Romieu1-0/+1
Tested with an Asrock 945G-DVI (LOM). Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-05-11ethtool: Add 2.5G supportMichael Chan3-3/+35
Add 2.5G Serdes support to ethtool user program and ethtool.8 man page. The missing pause bits are also added to keep ethtool-copy.h in sync with the kernel's version. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-04-05ethtool: add 88e807X chip to decodeStephen Hemminger1-0/+3
Add decode for Yukon Extreme chip Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-04-05ethtool: marvell chip version decode fixStephen Hemminger1-1/+1
The chip revision wasn't being decoded properly. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-04-05ethtool: additional 10Gig nicenessRick Jones2-54/+73
teach ethtool to print "10000Mb/s" for a 10G NIC and prepare for 10G NICs where it is possible to run something other than 10G update the ethtool.8 manpage with info re same and some grammar fixes Signed-off-by: Rick Jones <rick.jones2@hp.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-02-09marvell chip decode formattingStephen Hemminger1-13/+24
Fix some typo's and formatting on Marvell ethtool output. If sync transmit queue is not used, don't print settings. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-02-09e1000: update device ID table for register dumpsAuke Kok1-51/+103
e1000: update device ID table for register dumps with new devices From: Auke Kok <auke-jan.h.kok@intel.com> The register dump routine of e1000 was missing several newer chipsets. I reimported the mac detection code from the linux e1000 driver. This fixes newer NIC's reporting that their bus type is PCI instead of PCI-e. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-02-09ethtool: fix long statistics nameStephen Hemminger1-6/+4
Fix handling of statistics where the label is exactly 32 (ETH_GSTRING_LEN) characters long (observed with chelsio 10G driver). Before it would print garbage because of going by end of string. Don't need to copy string, just use formats properly. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-02-09ethtool: allow force hex in register dumpStephen Hemminger2-4/+8
Sometimes the device decode logic just gets in the way so add a "force hex" option to register dump. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-02-09ethtool: flie option to register dumpStephen Hemminger2-7/+49
Add ability to take old raw dumps from a file and decode them. It is kind of limited because you still need to have same device as the raw file, but useful for maintainers to decode raw dumps. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-11-07[PATCH] ethtool: marvell register dumpStephen Hemminger1-29/+77
This is a consolidation of earlier marvell register decode patches to ethtool. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-10-31[PATCH] Fabric7 VIOC: EthtoolSriram Chidambaram1-2/+0
Removed debug print statement Signed-off-by: Fabric7 Driver-Support <driver-support@fabric7.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-10-31[PATCH] Fabric7 VIOC: EthtoolSriram Chidambaram4-1/+39
Ethtool patch for Fabric7 VIOC Device Driver. Signed-off-by: Fabric7 Driver-Support <driver-support@fabric7.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-10-11[PATCH] ethtool: sky2 more decodeStephen Hemminger1-0/+28
Add some more decoding of Rx FIFO bits Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-09-27[PATCH] ethtool: spelling fixStephen Hemminger1-2/+2
Fix my bogus spelling. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-09-27[PATCH] ethtool: sky2 supportStephen Hemminger3-25/+183
Add full support for sky2 chip Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-09-27[PATCH] ethtool: move skge.c to marvell.cStephen Hemminger2-1/+1
The code will be common for skge and sky2 Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-09-19ixgb: Trim trailing whitespace.Jeff Garzik1-1/+1
2006-09-19[PATCH] ethtool: add ixgb register dump supportNicholas Nunley4-2/+154
This adds support for dumping ixgb registers in readable format. Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>