diff options
author | Michael Chan <mchan@broadcom.com> | 2007-07-14 19:07:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-14 19:07:52 -0700 |
commit | 6460d948f3ebf7d5040328a60a0ab7221f69945b (patch) | |
tree | d7c2a7eda9f20a03698df32bdc4677ca0c2479d5 /include/linux/ethtool.h | |
parent | febca281f677a775c61cd0572c2f35e4ead9e7d5 (diff) | |
download | op-kernel-dev-6460d948f3ebf7d5040328a60a0ab7221f69945b.zip op-kernel-dev-6460d948f3ebf7d5040328a60a0ab7221f69945b.tar.gz |
[NET]: Add ethtool support for NETIF_F_IPV6_CSUM devices.
Add ethtool utility function to set or clear IPV6_CSUM feature flag.
Modify tg3.c and bnx2.c to use this function when doing ethtool -K
to change tx checksum.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r-- | include/linux/ethtool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index f2d248f..3a63224 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -265,6 +265,7 @@ u32 ethtool_op_get_link(struct net_device *dev); u32 ethtool_op_get_tx_csum(struct net_device *dev); int ethtool_op_set_tx_csum(struct net_device *dev, u32 data); int ethtool_op_set_tx_hw_csum(struct net_device *dev, u32 data); +int ethtool_op_set_tx_ipv6_csum(struct net_device *dev, u32 data); u32 ethtool_op_get_sg(struct net_device *dev); int ethtool_op_set_sg(struct net_device *dev, u32 data); u32 ethtool_op_get_tso(struct net_device *dev); |