netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM offload
Date: Wed, 11 Jun 2008 22:50:39 -0400	[thread overview]
Message-ID: <48508EFF.1090802@garzik.org> (raw)
In-Reply-To: <20080605110335.28781.49248.stgit@localhost.localdomain>

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@intel.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.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




  reply	other threads:[~2008-06-12  2:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05 11:03 [PATCH 0/3] NET: Add support for VLAN feature flag propagation Jeff Kirsher
2008-06-05 11:05 ` [PATCH 1/3] ixbge: allow vlan devices to use TSO and TCP CSUM offload Jeff Kirsher
2008-06-12  2:50   ` Jeff Garzik [this message]
2008-06-05 11:06 ` [PATCH 2/3] igb: " Jeff Kirsher
2008-06-05 11:07 ` [PATCH 3/3] e1000e: allow VLAN " Jeff Kirsher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48508EFF.1090802@garzik.org \
    --to=jeff@garzik.org \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).