From: Patrick McHardy <kaber@trash.net>
To: Linux Netdev List <netdev@vger.kernel.org>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@intel.com>,
"Brandeburg, Jesse" <jesse.brandeburg@intel.com>,
"Allan, Bruce W" <bruce.w.allan@intel
Subject: [PATCH RFC]: e1000: allow VLAN devices to use TSO and CSUM offload
Date: Wed, 16 Jul 2008 12:05:15 +0200 [thread overview]
Message-ID: <487DC7DB.70401@trash.net> (raw)
[-- 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 */
next reply other threads:[~2008-07-16 10:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 10:05 Patrick McHardy [this message]
2008-10-10 14:39 ` [PATCH RFC]: e1000: allow VLAN devices to use TSO and CSUM offload 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
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=487DC7DB.70401@trash.net \
--to=kaber@trash.net \
--cc=bruce.w.allan@intel \
--cc=jeffrey.t.kirsher@intel.com \
--cc=jesse.brandeburg@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.