summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2007-08-17 09:16:37 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:50:44 -0700
commit80e536770c2fcb8d2b7be9f5a36b85c36fd5943a (patch)
tree45091cab26dffaee7a79de985a41650e0c9e329c
parent5fc7e01cb77132f96e171a37f9f792270b1603f6 (diff)
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>
-rw-r--r--drivers/net/ibmveth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
index 9c16928e20e..9bf0f92d3a5 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)