Message ID | 200811171346.09039.rusty@rustcorp.com.au |
---|---|
State | Changes Requested, archived |
Headers | show |
From: Rusty Russell <rusty@rustcorp.com.au> Date: Mon, 17 Nov 2008 13:46:08 +1030 > 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> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index cca6435..79b59cc 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -612,6 +612,7 @@ static int virtnet_set_tx_csum(struct net_device *dev, u32 data) static struct ethtool_ops virtnet_ethtool_ops = { .set_tx_csum = virtnet_set_tx_csum, .set_sg = ethtool_op_set_sg, + .set_tso = ethtool_op_set_tso, }; static int virtnet_probe(struct virtio_device *vdev)