mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
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>
This commit is contained in:
parent
5fc7e01cb7
commit
80e536770c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user