Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Add support for RXHASH flag in ethtool offload.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jeff Garzik <jeff@garzik.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
|
|
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>
|
|
Ethtool man page nit.
Signed-off-by: Don Fry <brazilnut@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
|
|
|
|
|