datapath: Enable all GSO features on internal port.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 25 Oct 2013 20:42:12 +0000 (13:42 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 23 Oct 2013 14:39:16 +0000 (07:39 -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>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/vport-internal_dev.c

index 738710e..637d712 100644 (file)
@@ -155,7 +155,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;