From: Simon Kagstrom <simon.kagstrom@netinsight.net>
To: netdev <netdev@vger.kernel.org>, David Miller <davem@davemloft.net>
Cc: Krishna Kumar <krkumar2@in.ibm.com>
Subject: [net-next PATCH] via-velocity: Enable scatter/gather IO by default
Date: Thu, 11 Feb 2010 16:39:55 +0100 [thread overview]
Message-ID: <20100211163955.1b1dbe2c@marrow.netinsight.se> (raw)
Reduces CPU utilization significantly with sendfile for example.
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
---
Also good to have if Krishnas tcp_sendmsg optimizations,
http://patchwork.ozlabs.org/patch/42944/
get merged.
drivers/net/via-velocity.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c
index 317aa34..18770ac 100644
--- a/drivers/net/via-velocity.c
+++ b/drivers/net/via-velocity.c
@@ -2825,7 +2825,7 @@ static int __devinit velocity_found1(struct pci_dev *pdev, const struct pci_devi
netif_napi_add(dev, &vptr->napi, velocity_poll, VELOCITY_NAPI_WEIGHT);
dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER |
- NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM;
+ NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM | NETIF_F_SG;
ret = register_netdev(dev);
if (ret < 0)
--
1.6.0.4
next reply other threads:[~2010-02-11 15:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 15:39 Simon Kagstrom [this message]
2010-02-17 0:20 ` [net-next PATCH] via-velocity: Enable scatter/gather IO by default David Miller
2010-02-17 6:19 ` Simon Kagstrom
2010-02-17 6:23 ` David Miller
2010-02-18 0:01 ` David Miller
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=20100211163955.1b1dbe2c@marrow.netinsight.se \
--to=simon.kagstrom@netinsight.net \
--cc=davem@davemloft.net \
--cc=krkumar2@in.ibm.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).