[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48508EFF.1090802@garzik.org>
Date: Wed, 11 Jun 2008 22:50:39 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM
offload
Jeff Kirsher wrote:
> Using the new interface for propagating device feature flags into VLAN
> devices, turn on TSO and CSUM offload on VLAN devices.
>
> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> ---
>
> drivers/net/ixgbe/ixgbe_main.c | 7 ++++++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
> index 7b85922..0d37c90 100644
> --- a/drivers/net/ixgbe/ixgbe_main.c
> +++ b/drivers/net/ixgbe/ixgbe_main.c
> @@ -3518,8 +3518,13 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
> NETIF_F_HW_VLAN_FILTER;
>
> netdev->features |= NETIF_F_TSO;
> -
> netdev->features |= NETIF_F_TSO6;
> +
> + netdev->vlan_features |= NETIF_F_TSO;
> + netdev->vlan_features |= NETIF_F_TSO6;
> + netdev->vlan_features |= NETIF_F_HW_CSUM;
> + netdev->vlan_features |= NETIF_F_SG;
> +
> if (pci_using_dac)
applied 1-3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists