[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100211163955.1b1dbe2c@marrow.netinsight.se>
Date: Thu, 11 Feb 2010 16:39:55 +0100
From: Simon Kagstrom <simon.kagstrom@...insight.net>
To: netdev <netdev@...r.kernel.org>, David Miller <davem@...emloft.net>
Cc: Krishna Kumar <krkumar2@...ibm.com>
Subject: [net-next PATCH] via-velocity: Enable scatter/gather IO by default
Reduces CPU utilization significantly with sendfile for example.
Signed-off-by: Simon Kagstrom <simon.kagstrom@...insight.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists