Skip to contentSkip to conversation

ixgbevf: Enable GRO by default

PATCH In review Shirley Ma 2 participants 2 messages May 13, 2010

Subsystems (3)
lore
Share & tools
lore

Shirley Ma

author
#0 lore raw

PATCH 1/1 ixgbevf: Enable GRO by default

Enable GRO by default for performance.

---

 drivers/net/ixgbevf/ixgbevf_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/ixgbevf/ixgbevf_main.c +1 -0
index 40f47b8..1bbb05e 100644
@@ -3415,6 +3415,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;
#1 lore raw
Quoted 15 lines · Shirley Ma

Enable GRO by default for performance.

---

 drivers/net/ixgbevf/ixgbevf_main.c |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/ixgbevf/ixgbevf_main.c +0 -0
index 40f47b8..1bbb05e 100644

drivers/net/ixgbevf/ixgbevf_main.c static int __devinit ixgbevf_probe(struct pci_dev *pdev, · line 3421

Quoted 7 lines
drivers/net/ixgbevf/ixgbevf_main.c +1 -0
@@ -3415,6 +3415,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;

Thanks, I have added the patch to my queue.

Signature · 10 lines
Cheers,
Jeff

------------------------------------------------------------------------------

_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired