Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80e53677 authored by Brian King's avatar Brian King Committed by David S. Miller
Browse files

ibmveth: Add ethtool TSO handlers



Add handlers for get_tso and get_ufo to prevent errors being printed
by ethtool.

Signed-off-by: default avatarBrian King <brking@linux.vnet.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 5fc7e01c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)