summaryrefslogtreecommitdiff
path: root/ethtool.8
AgeCommit message (Collapse)AuthorFilesLines
2011-01-10ethtool.8: Substitute version at configure timeBen Hutchings1-819/+0
Rename ethtool.8 to ethtool.8.in and let autoconf set the version. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2011-01-10ethtool.8: Update date, version, web site referenceBen Hutchings1-4/+41
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2010-11-16ethtool: Add support for vlan accleration.Jesse Gross1-0/+8
The kernel now has support for enabling and disabling vlan acceleration, similar to other forms of offloading. This adds the complementary userspace support. Signed-off-by: Jesse Gross <jesse@nicira.com> [bwh: Fix references to 'off_flags_unwanted', renamed to 'off_flags_mask'] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2010-11-16ethtool: add get permanent address optionStephen Hemminger1-0/+6
Add command level support for showing permanent address. The ioctl has been around for a long time but there was no option to display it. Note: MAX_ADDR_LEN is defined in netdevice.h but including netdevice.h leads to multiple definition errors with if.h. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> [bwh: Fix use of '|' in place of '||', as noted by Joe Perches] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2010-11-16ethtool: Add Ethernet-level RX n-tuple filtering and 'clear' actionBen Hutchings1-5/+43
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2010-11-16ethtool: Fix RX n-tuple masks and documentationBen Hutchings1-16/+15
For fields with unspecified values, explicitly mask all bits. Do not allow specifying a mask without a value. Change usage information to clarify which parameters are optional or required. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2010-08-10ethtool: Remove specification of number bases for RX-ntuple parametersBen Hutchings1-8/+8
The numeric parameters for RX n-tuple filters may be specified as either decimal or hexadecimal with a '0x' prefix, like most other numeric parameters. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-08-10ethtool: Use inet_aton() to parse IPv4 addresses for RX n-tuple controlBen Hutchings1-4/+5
Note that inet_aton() allows the address to be specified as a single 32-bit number in the same formats as strtoull(), so this is backward- compatible. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-07-02ethtool: Add support for control of RX flow hash indirectionBen Hutchings1-0/+26
Many NICs use an indirection table to map an RX flow hash value to one of an arbitrary number of queues (not necessarily a power of 2). It can be useful to remove some queues from this indirection table so that they are only used for flows that are specifically filtered there. It may also be useful to weight the mapping to account for user processes with the same CPU-affinity as the RX interrupts. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-07-02ethtool: Fix list of hash options in manual pageBen Hutchings1-1/+1
'p' is not a valid option. The 'm' option was missing a preceding 'B' for bold. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-06-25ethtool: Implement named message type flagsBen Hutchings1-3/+63
Allow message type flags to be turned on and off by name. Print the names of the currently set flags below the numeric value. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-04-06ethtool: RXHASH flag support (v2)Stephen Hemminger1-0/+4
Add support for RXHASH flag in ethtool offload. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-02-26Add n-tuple information to the ethtool manpage.Peter Waskiewicz1-0/+102
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-25ethtool: add support for block writing of EEPROMsMandeep Singh Baines1-4/+8
EEPROM write only supports byte writing. Add support for writing an arbitrary number of bytes at an arbitrary offset. Signed-off-by: Mandeep Singh Baines <msb@google.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-25ethtool: Add option to flash firmware image from specified file, to a device.Ajit Khaparde1-0/+15
This patch adds a new "-f" option to the ethtool utility to flash a firmware image specified by a file, to a network device. The filename is passed to the network driver which will flash the image on the chip using the request_firmware path. The region "on the chip" to be flashed can be specified by an option. It is up to the device driver to enumerate the region number passed by ethtool, to the region to be flashed. The default behavior is to flash all the regions on the chip. Usage: ethtool -f <interface name> <filename of firmware image> ethtool -f <interface name> <filename of firmware image> [ REGION-NUMBER-TO-FLASH ] Signed-off-by: Ajit Khaparde <ajitk@serverengines.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-25ethtool: Remove support for RX hashing by portBen Hutchings1-3/+0
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-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 Hutchings1-2/+2
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-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-06Get/set GRO settings.Jeff Garzik1-0/+2
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-09-13Add support for rx flow hash configuration in a network deviceSantwona Behera1-0/+80
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-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>
2007-07-26Release version 6.Jeff Garzik1-1/+1
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-05-11ethtool: Add 2.5G supportMichael Chan1-2/+4
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: additional 10Gig nicenessRick Jones1-52/+55
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-09ethtool: allow force hex in register dumpStephen Hemminger1-0/+1
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 Hemminger1-1/+12
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-09-06ethtool v5: add autoneg advertise featureJeff Kirsher1-0/+24
adds the ability to change the advertised speed and duplex for a network interface. Previously, a network interface was only able to advertise all supported speed's and duplex's, or one individual speed and duplex. The feature allows the user to choose which supported speed's and duplex's to advertise by using the hex value. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
2006-09-01Release version 5.Jeff Garzik1-1/+1
2006-08-24[PATCH] GSO Support for ethtool$B5HF#1QL@1-0/+4
Upcoming 2.6.18 provides Generic Segmentation Offload (GSO). This provides its control with -K option. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-07-18Release version 4.Jeff Garzik1-1/+1
2006-07-18[PATCH] UFO patchAnanda Raju1-0/+4
Hi, Kernel version 2.6.15 onwards provides UDP Fragmentation Offload (UFO) This patch to ethtool provides UFO (UDP Fragmentation Offload) on/off support using -K option similar to feature TSO. To find out whether UFO is enabled or not use #ethtool -k eth3 Offload parameters for eth3: rx-checksumming: on tx-checksumming: on scatter-gather: on tcp segmentation offload: on udp fragmentation offload: on # To turn off UFO use following command. #ethtool -K eth3 ufo off To turn off UFO use following command. #ethtool -K eth3 ufo on Please review the patch. Signed-off-by: Ananda Raju <ananda.raju@neterion.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2005-11-11[PATCH] ethtool.8 typoDon Fry1-1/+1
Ethtool man page nit. Signed-off-by: Don Fry <brazilnut@us.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-10-25[PATCH] Add long options to ethtoolAndi Kleen1-36/+37
2005-10-25Initial import of ethtool version 3 + a few patches.Jeff Garzik1-0/+384