netdev
[Top] [All Lists]

[PATCH] add ethtool TSO get/set

To: Jeff Garzik <jgarzik@xxxxxxxxx>
Subject: [PATCH] add ethtool TSO get/set
From: "Feldman, Scott" <scott.feldman@xxxxxxxxx>
Date: Fri, 18 Jul 2003 20:17:01 -0700 (PDT)
Cc: davidm@xxxxxxxxxx, <netdev@xxxxxxxxxxx>, "Feldman, Scott" <scott.feldman@xxxxxxxxx>
Reply-to: "Feldman, Scott" <scott.feldman@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
* Add TSO get/set command to ethtool interface.  Applies to both 2.4/2.5.
  Ethtool application patch sent under separate cover.

---------------

--- linux-2.4.22-pre7/include/linux/ethtool.h.orig      2003-07-18 
16:35:05.000000000 -0700
+++ linux-2.4.22-pre7/include/linux/ethtool.h   2003-07-18 16:37:35.000000000 
-0700
@@ -281,6 +281,8 @@
 #define ETHTOOL_GSTRINGS       0x0000001b /* get specified string set */
 #define ETHTOOL_PHYS_ID                0x0000001c /* identify the NIC */
 #define ETHTOOL_GSTATS         0x0000001d /* get NIC-specific statistics */
+#define ETHTOOL_GTSO           0x0000001e /* Get TSO enable (ethtool_value) */
+#define ETHTOOL_STSO           0x0000001f /* Set TSO enable (ethtool_value) */
 
 /* compatibility with older code */
 #define SPARC_ETH_GSET         ETHTOOL_GSET



<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] add ethtool TSO get/set, Feldman, Scott <=