mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
virtio_net: hook up the set-tso ethtool op
Seems like an oversight that we have set-tx-csum and set-sg hooked up, but not set-tso. Also leads to the strange situation that if you e.g. disable tx-csum, then tso doesn't get disabled. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0a888fd1f6
commit
0276b4972e
1 changed files with 1 additions and 0 deletions
|
@ -481,6 +481,7 @@ static int virtnet_set_tx_csum(struct net_device *dev, u32 data)
|
||||||
static struct ethtool_ops virtnet_ethtool_ops = {
|
static struct ethtool_ops virtnet_ethtool_ops = {
|
||||||
.set_tx_csum = virtnet_set_tx_csum,
|
.set_tx_csum = virtnet_set_tx_csum,
|
||||||
.set_sg = ethtool_op_set_sg,
|
.set_sg = ethtool_op_set_sg,
|
||||||
|
.set_tso = ethtool_op_set_tso,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int virtnet_probe(struct virtio_device *vdev)
|
static int virtnet_probe(struct virtio_device *vdev)
|
||||||
|
|
Loading…
Reference in a new issue