ixgbevf: Enable GRO by default
authorShirley Ma <xma@us.ibm.com>
Sat, 5 Jun 2010 10:04:50 +0000 (03:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Jun 2010 10:04:50 +0000 (03:04 -0700)
Enable GRO by default for performance.

Signed-off-by: Shirley Ma <xma@us.ibm.com>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbevf/ixgbevf_main.c

index a16cff7e54a3ec8daea5f499ca40834c5adb3111..73f1e75f68d4e438b0c5ef563b28e410adba4bff 100644 (file)
@@ -3411,6 +3411,7 @@ static int __devinit ixgbevf_probe(struct pci_dev *pdev,
        netdev->features |= NETIF_F_IPV6_CSUM;
        netdev->features |= NETIF_F_TSO;
        netdev->features |= NETIF_F_TSO6;
+       netdev->features |= NETIF_F_GRO;
        netdev->vlan_features |= NETIF_F_TSO;
        netdev->vlan_features |= NETIF_F_TSO6;
        netdev->vlan_features |= NETIF_F_IP_CSUM;