diff mbox

[net-next] ixgbevf: Enable GRO by default

Message ID 1273780274.30943.6.camel@localhost.localdomain
State Awaiting Upstream, archived
Delegated to: David Miller
Headers show

Commit Message

Shirley Ma May 13, 2010, 7:51 p.m. UTC
Enable GRO by default for performance. 

Signed-off-by: Shirley Ma <xma@us.ibm.com>
---
 
 drivers/net/ixgbevf/ixgbevf_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Kirsher, Jeffrey T May 13, 2010, 10:16 p.m. UTC | #1
On Thu, May 13, 2010 at 12:51, Shirley Ma <mashirle@us.ibm.com> wrote:
> Enable GRO by default for performance.
>
> Signed-off-by: Shirley Ma <xma@us.ibm.com>
> ---
>
>  drivers/net/ixgbevf/ixgbevf_main.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/ixgbevf/ixgbevf_main.c b/drivers/net/ixgbevf/ixgbevf_main.c
> index 40f47b8..1bbb05e 100644
> --- a/drivers/net/ixgbevf/ixgbevf_main.c
> +++ b/drivers/net/ixgbevf/ixgbevf_main.c
> @@ -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.
diff mbox

Patch

diff --git a/drivers/net/ixgbevf/ixgbevf_main.c b/drivers/net/ixgbevf/ixgbevf_main.c
index 40f47b8..1bbb05e 100644
--- a/drivers/net/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ixgbevf/ixgbevf_main.c
@@ -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;