Browse Source

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>
Brian King 18 năm trước cách đây
mục cha
commit
80e536770c
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      drivers/net/ibmveth.c

+ 2 - 0
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)