* [PATCH] e1000: allow VLAN devices to use TSO and CSUM offload
@ 2008-10-11 1:34 Jeff Kirsher
2008-10-11 19:26 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Kirsher @ 2008-10-11 1:34 UTC (permalink / raw)
To: davem, jeff; +Cc: netdev, Patrick McHardy, Jesse Brandeburg, Jeff Kirsher
From: Patrick McHardy <kaber@trash.net>
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.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/e1000/e1000_main.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index ad6da7b..dd5ea4e 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -1053,6 +1053,11 @@ static int __devinit 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(hw);
/* initialize eeprom parameters */
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] e1000: allow VLAN devices to use TSO and CSUM offload
2008-10-11 1:34 [PATCH] e1000: allow VLAN devices to use TSO and CSUM offload Jeff Kirsher
@ 2008-10-11 19:26 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-10-11 19:26 UTC (permalink / raw)
To: jeffrey.t.kirsher; +Cc: jeff, netdev, kaber, jesse.brandeburg
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Fri, 10 Oct 2008 18:34:58 -0700
> From: Patrick McHardy <kaber@trash.net>
>
> 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.
>
> Signed-off-by: Patrick McHardy <kaber@trash.net>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied to net-2.6, thanks.
I'm applying this because Patrick submitted this a long time
ago in the same form that it had in this final submission.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-11 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-11 1:34 [PATCH] e1000: allow VLAN devices to use TSO and CSUM offload Jeff Kirsher
2008-10-11 19:26 ` David Miller
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).