]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ibmveth: Add ethtool TSO handlers
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 17 Aug 2007 14:16:37 +0000 (09:16 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:50:44 +0000 (16:50 -0700)
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>
drivers/net/ibmveth.c

index 9c16928e20ed82e27633f0fdb6dfccc0e9312f7e..9bf0f92d3a50cdbaea5a476034c8bcc43793f5d0 100644 (file)
@@ -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)