diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-16 10:44:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-16 10:44:31 +0300 |
commit | b240a0e5644eb817c4a397098a40e1ad42a615bc (patch) | |
tree | ff2262ce70c4f7773c01e736186dbb4b40145841 /include | |
parent | bf296b125b21b8d558ceb6ec30bb4eba2730cd6b (diff) | |
download | linux-b240a0e5644eb817c4a397098a40e1ad42a615bc.tar.xz |
ethtool: Add GGRO and SGRO ops
This patch adds the ethtool ops to enable and disable GRO. It also
makes GRO depend on RX checksum offload much the same as how TSO
depends on SG support.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ethtool.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index b4b038b89ee6..27c67a542235 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -467,6 +467,8 @@ struct ethtool_ops { #define ETHTOOL_GRXFH 0x00000029 /* Get RX flow hash configuration */ #define ETHTOOL_SRXFH 0x0000002a /* Set RX flow hash configuration */ +#define ETHTOOL_GGRO 0x0000002b /* Get GRO enable (ethtool_value) */ +#define ETHTOOL_SGRO 0x0000002c /* Set GRO enable (ethtool_value) */ /* compatibility with older code */ #define SPARC_ETH_GSET ETHTOOL_GSET |