diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2007-08-17 16:16:37 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:50:44 +0200 |
commit | 80e536770c2fcb8d2b7be9f5a36b85c36fd5943a (patch) | |
tree | 45091cab26dffaee7a79de985a41650e0c9e329c /drivers/net/ibmveth.c | |
parent | ibmveth: Implement ethtool hooks to enable/disable checksum offload (diff) | |
download | linux-80e536770c2fcb8d2b7be9f5a36b85c36fd5943a.tar.xz linux-80e536770c2fcb8d2b7be9f5a36b85c36fd5943a.zip |
ibmveth: Add ethtool TSO handlers
Add handlers for get_tso and get_ufo to prevent errors being printed
by ethtool.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ibmveth.c')
-rw-r--r-- | drivers/net/ibmveth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index 9c16928e20ed..9bf0f92d3a50 100644 --- a/drivers/net/ibmveth.c +++ b/drivers/net/ibmveth.c @@ -778,6 +778,8 @@ static const struct ethtool_ops netdev_ethtool_ops = { .set_tx_csum = ibmveth_set_tx_csum, .get_rx_csum = ibmveth_get_rx_csum, .set_rx_csum = ibmveth_set_rx_csum, + .get_tso = ethtool_op_get_tso, + .get_ufo = ethtool_op_get_ufo, }; static int ibmveth_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) |