aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ibmveth.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2007-08-17 10:16:37 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:50:44 -0400
commit80e536770c2fcb8d2b7be9f5a36b85c36fd5943a (patch)
tree45091cab26dffaee7a79de985a41650e0c9e329c /drivers/net/ibmveth.c
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>
Diffstat (limited to 'drivers/net/ibmveth.c')
-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 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 = {
778 .set_tx_csum = ibmveth_set_tx_csum, 778 .set_tx_csum = ibmveth_set_tx_csum,
779 .get_rx_csum = ibmveth_get_rx_csum, 779 .get_rx_csum = ibmveth_get_rx_csum,
780 .set_rx_csum = ibmveth_set_rx_csum, 780 .set_rx_csum = ibmveth_set_rx_csum,
781 .get_tso = ethtool_op_get_tso,
782 .get_ufo = ethtool_op_get_ufo,
781}; 783};
782 784
783static int ibmveth_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) 785static int ibmveth_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)