openvswitch: Enable all GSO features on internal port.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 25 Oct 2013 22:12:33 +0000 (15:12 -0700)
committerJesse Gross <jesse@nicira.com>
Sat, 2 Nov 2013 01:17:50 +0000 (18:17 -0700)
OVS already can handle all types of segmentation offloads that
are supported by the kernel.
Following patch specifically enables UDP and IPV6 segmentation
offloads.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/vport-internal_dev.c

index 98d3edbbc2356e1296fcc86b59956387db916ca4..729c68763fe70d150793e1f01a023d4d8f1b78c0 100644 (file)
@@ -134,7 +134,7 @@ static void do_setup(struct net_device *netdev)
        netdev->tx_queue_len = 0;
 
        netdev->features = NETIF_F_LLTX | NETIF_F_SG | NETIF_F_FRAGLIST |
-                          NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_TSO;
+                          NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_GSO_SOFTWARE;
 
        netdev->vlan_features = netdev->features;
        netdev->features |= NETIF_F_HW_VLAN_CTAG_TX;