]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
authorVlad Yasevich <vyasevich@gmail.com>
Tue, 23 May 2017 17:38:43 +0000 (13:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 May 2017 20:27:14 +0000 (16:27 -0400)
commit2836b4f224d4fd7d1a2b23c3eecaf0f0ae199a74
tree2b342f50dd0d585ce34c08e68cd6d1fcd4ddae40
parentcc6e9de62a7f84c9293a2ea41bc412b55bb46e85
virtio-net: enable TSO/checksum offloads for Q-in-Q vlans

Since virtio does not provide it's own ndo_features_check handler,
TSO, and now checksum offload, are disabled for stacked vlans.
Re-enable the support and let the host take care of it.  This
restores/improves Guest-to-Guest performance over Q-in-Q vlans.

Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c