From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH RFC]: e1000: allow VLAN devices to use TSO and CSUM offload Date: Fri, 10 Oct 2008 16:39:11 +0200 Message-ID: <48EF690F.5070105@trash.net> References: <487DC7DB.70401@trash.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030909090808030104060207" To: Linux Netdev List , "Kirsher, Jeffrey T" , "Brandeburg, Jesse" , "Allan, Bruce W" Received: from stinky.trash.net ([213.144.137.162]:56015 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758163AbYJJOjP (ORCPT ); Fri, 10 Oct 2008 10:39:15 -0400 In-Reply-To: <487DC7DB.70401@trash.net> Sender: netdev-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------030909090808030104060207 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Patrick McHardy wrote: > This patch changes e1000 to set vlan_features so TSO and CSUM > offload can be used by VLAN devices, similar as with the other > Intel drivers. > > Only RFC because I don't know whether there is buggy hardware > that doesn't support this properly, but feel free to apply in > case there isn't. I never received a response to this. Any comments? --------------030909090808030104060207 Content-Type: text/plain; name="x" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="x" commit 9648c6ef22e4f6e14ed5b5d91d9809779bb520c7 Author: Patrick McHardy Date: Wed Jul 16 11:45:09 2008 +0200 e1000: allow VLAN devices to use TSO and CSUM offload Signed-off-by: Patrick McHardy diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index f8df8bd..b6b3135 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c @@ -1011,6 +1011,11 @@ e1000_probe(struct pci_dev *pdev, netdev->features |= NETIF_F_LLTX; + 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; + adapter->en_mng_pt = e1000_enable_mng_pass_thru(&adapter->hw); /* initialize eeprom parameters */ --------------030909090808030104060207--