summaryrefslogtreecommitdiff
path: root/include/linux/ethtool.h
AgeCommit message (Collapse)Author
2005-11-05[PATCH] bnx2: add 5708 supportMichael Chan
Add 5708 copper and serdes basic support, including 2.5 Gbps support on 5708 serdes. SPEED_2500 is also added to ethtool.h Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2005-10-28[IPv4/IPv6]: UFO Scatter-gather approachAnanda Raju
Attached is kernel patch for UDP Fragmentation Offload (UFO) feature. 1. This patch incorporate the review comments by Jeff Garzik. 2. Renamed USO as UFO (UDP Fragmentation Offload) 3. udp sendfile support with UFO This patches uses scatter-gather feature of skb to generate large UDP datagram. Below is a "how-to" on changes required in network device driver to use the UFO interface. UDP Fragmentation Offload (UFO) Interface: ------------------------------------------- UFO is a feature wherein the Linux kernel network stack will offload the IP fragmentation functionality of large UDP datagram to hardware. This will reduce the overhead of stack in fragmenting the large UDP datagram to MTU sized packets 1) Drivers indicate their capability of UFO using dev->features |= NETIF_F_UFO | NETIF_F_HW_CSUM | NETIF_F_SG NETIF_F_HW_CSUM is required for UFO over ipv6. 2) UFO packet will be submitted for transmission using driver xmit routine. UFO packet will have a non-zero value for "skb_shinfo(skb)->ufo_size" skb_shinfo(skb)->ufo_size will indicate the length of data part in each IP fragment going out of the adapter after IP fragmentation by hardware. skb->data will contain MAC/IP/UDP header and skb_shinfo(skb)->frags[] contains the data payload. The skb->ip_summed will be set to CHECKSUM_HW indicating that hardware has to do checksum calculation. Hardware should compute the UDP checksum of complete datagram and also ip header checksum of each fragmented IP packet. For IPV6 the UFO provides the fragment identification-id in skb_shinfo(skb)->ip6_frag_id. The adapter should use this ID for generating IPv6 fragments. Signed-off-by: Ananda Raju <ananda.raju@neterion.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (forwarded) Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2005-08-29[NET]: Add support for getting the permanent hardware address.Jon Wetzel
This patch adds a new field to net device to hold the permanent hardware address, and adds a new generic ethtool_op function to get that address. Signed-off-by: Jon Wetzel <jon_wetzel@dell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2005-07-30This patch adds a PHY Abstraction Layer to the Linux Kernel, enablingAndy Fleming
ethernet drivers to remain as ignorant as is reasonable of the connected PHY's design and operation details. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-05-29[NET]: Add ethtool support for NETIF_F_HW_CSUM.Jon Mason
Signed-off-by: Jon Mason <jdmason@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-06-08[PATCH] ethtool power manglement hooksAlan Cox
Several ethernet drivers have been broken by the ethtool support because the ioctl code used to power the interface up and down as needed. Rather than add this to each driver call Jeff Garzik suggested we add hooks for before/after ethtool processing. This patch implements them which makes fixing the PM stuff easier, as the epic100 patch to follow will show. It also cleans up the via-velocity driver pm/ethtool logic a great deal. As per Jeff's request the before handler is allowed to fail the operation. -- The contribution herein included is a creation of Red Hat Inc. It is hereby submitted under the license of the existing files and as a derivative work thereof. I know of no reason for not having the right to submit the work herein included. (Bluff your way in legalese ;))
2003-10-14[PATCH] ethtool_ops eeprom stuffScott Feldman
Finally got around to adding ethtool_ops to e100-3.0.x. I found a bug with get_eeprom() and it seems to work best if we add get_eeprom_len() to the ops list. Also moved check for offest + len < size into ethtool.c. I was able to test [GS]EEPROM, PHYS_ID, GSTATS, GSTRINGS, and TEST, and everything looks good. Should I send same for 2.4?
2003-09-01[NET] move ethtool_op_set_tx_csum from 8139cp drvr to net/core/ethtool.c,Jeff Garzik
where it belongs.
2003-08-23[ETHTOOL]: Add ethtool_op_{set,get}_tso helpers.David S. Miller
2003-08-23[ETHTOOL]: Add {G,S}TSO support to ethtool_ops.David S. Miller
2003-08-07[netdrvr] add ethtool_ops to struct net_device, and associated infrastructureJeff Garzik
Contributed by Matthew Wilcox.
2003-08-01[PATCH] janitor: convert to pci_name()Randy Dunlap
[ GregKH has already done this is USB and PCI core. ] From: "Warren A. Layton" <zeevon@debian.org> Based on a request from Matthew Wilcox, convert instances of pci_dev->slot_name to use pci_name() instead: "In order to support PCI Domains, we have to stop using slot_name. It's related to driver model transition too since pci_dev->slot_name was redundant with pci_dev->dev.bus_id. So I introduced the inline function pci_name(). Now there's about 300-400 places in the tree that're using slot_name which need to be converted to use pci_name(). once that's done, we can remove the slot_name pointer in pci_dev and save a (void *) per pci_dev."
2003-07-19[PATCH] add ethtool TSO get/setScott Feldman
* Add TSO get/set command to ethtool interface. Applies to both 2.4/2.5. Ethtool application patch sent under separate cover.
2003-06-05[PATCH] remove ethtool privileged referencesScott Feldman
dev_ioctl already checks capable(CAP_NET_ADMIN) for SOICETHTOOL, so privileged reference are not necessary.
2003-06-05[PATCH] 10GbE ethtool supportScott Feldman
Add 10GbE support for ethtool.
2003-02-24[PATCH] Spelling fixes - transceiverMichael Hayes
This fixes: tranceiver -> transceiver Some function names had this misspelling (e.g. e100_reset_tranceiver) and I changed them, but I haven't tested it. Fixes 34 occurrences in all.
2002-10-28Update my email address.Jeff Garzik
2002-06-14Update 8139cp net driver to support NIC-specific statistic dumpsJeff Garzik
2002-05-29Add ETHTOOL_PHYS_ID ethtool command to linux/ethtool.h.Scott Feldman
2002-03-19Merge ethtool initiate-nic-self-test ioctl, and support for it in e100 net drvr.Jeff Garzik
Contributed by Eli Kupermann @ Intel, modified by me.
2002-03-12Add several new ethtool commands:Jeff Garzik
coalescing, ring params, pause params, hw csum disable/enable, scatter-gather enable/disable
2002-02-04v2.4.14.6 -> v2.4.14.7Linus Torvalds
- Jeff Garzik: network driver updates - Christoph Hellwig: UFS filesystem byteorder cleanups - me: modified Andrea VM page allocator tuning
2002-02-04v2.4.14.1 -> v2.4.14.2Linus Torvalds
- Ivan Kokshaysky: fix alpha dec_and_lock with modules, for alpha config entry - Kai Germaschewski: ISDN updates - Jeff Garzik: network driver updates, sysv fs update - Kai Mäkisara: SCSI tape update - Alan Cox: large drivers merge - Nikita Danilov: reiserfs procfs information - Andrew Morton: ext3 merge - Christoph Hellwig: vxfs livelock fix - Trond Myklebust: NFS updates - Jens Axboe: cpqarray + cciss dequeue fix - Tim Waugh: parport_serial base_baud setting - Matthew Dharm: usb-storage Freecom driver fixes - Dave McCracken: wait4() thread group race fix
2002-02-04v2.4.12.3 -> v2.4.12.4Linus Torvalds
- Al Viro: mnt_list init - Jeff Garzik: network driver update (license tags, tulip driver) - David Miller: sparc, net updates - Ben Collins: firewire update - Gerd Knorr: btaudio/bttv update - Tim Hockin: MD cleanups - Greg KH, Petko Manolov: USB updates - Leonard Zubkoff: DAC960 driver update
2002-02-04v2.4.8.3 -> v2.4.8.4Linus Torvalds
- Tim Hockin: NatSemi ethernet update - Kurt Garloff: make PS/2 mouse reconnect adjustable like 2.2.x - Daniel Phillips: unlazy use-once - David Miller: undo poll() limit braindamage - me: make return value from do_try_to_free_pages() meaningful
2002-02-04v2.4.6.8 -> v2.4.6.9Linus Torvalds
- Dan Quinlan: cramfs update - Ben Collins: IEEE 1394 update - David Miller: network update (pppoe, routing cache stats), sparc32 update - me: only dump core once per threaded app (first one wins) - me: use new completion handlers for block device requests (same race as with vfork, see -pre7)
2002-02-04v2.4.3.4 -> v2.4.3.5Linus Torvalds
- Mike Phillips: olympic driver update - Alan Cox: continued resyncing (lots of small stuff, big NTFS merge from Anton) - Martin Dalecki: cleanup (remove unused and unnecessary get_hardblocksize) - Chris Mason: fix potential reiserfs journal overflow - Jeff Garzik: network driver updates - David Miller: sparc fixes, some network cleanups
2002-02-04v2.4.2.7 -> v2.4.2.8Linus Torvalds
- Paul Mackerras: PPC update for thread-safe page table handling - Ingo Molnar: x86 PAE update for thread-safe page table handling - Jeff Garzik: network driver updates, i810 rng driver, and "alloc_etherdev()" network driver insert race condition fix. - David Miller: UltraSparcIII update, network locking fixes - Al Viro: fix fs counts on mount failure
2002-02-04Import changesetLinus Torvalds