netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC]: e1000: allow VLAN devices to use TSO and CSUM offload
@ 2008-07-16 10:05 Patrick McHardy
  2008-10-10 14:39 ` Patrick McHardy
  0 siblings, 1 reply; 9+ messages in thread
From: Patrick McHardy @ 2008-07-16 10:05 UTC (permalink / raw)
  To: Linux Netdev List, Kirsher, Jeffrey T, Brandeburg, Jesse,
	Allan, Bruce W

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

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.



[-- Attachment #2: x --]
[-- Type: text/plain, Size: 795 bytes --]

commit 9648c6ef22e4f6e14ed5b5d91d9809779bb520c7
Author: Patrick McHardy <kaber@trash.net>
Date:   Wed Jul 16 11:45:09 2008 +0200

    e1000: allow VLAN devices to use TSO and CSUM offload
    
    Signed-off-by: Patrick McHardy <kaber@trash.net>

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 */

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-10-11 14:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 10:05 [PATCH RFC]: e1000: allow VLAN devices to use TSO and CSUM offload Patrick McHardy
2008-10-10 14:39 ` Patrick McHardy
2008-10-10 17:48   ` Brandeburg, Jesse
2008-10-10 17:59     ` Ben Hutchings
2008-10-10 19:09       ` David Miller
2008-10-10 22:01         ` Brandeburg, Jesse
2008-10-10 22:11           ` David Miller
2008-10-10 17:50   ` Brandeburg, Jesse
2008-10-11 14:35     ` Patrick McHardy

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).