netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH] via-velocity: Enable scatter/gather IO by default
@ 2010-02-11 15:39 Simon Kagstrom
  2010-02-17  0:20 ` David Miller
  2010-02-18  0:01 ` David Miller
  0 siblings, 2 replies; 5+ messages in thread
From: Simon Kagstrom @ 2010-02-11 15:39 UTC (permalink / raw)
  To: netdev, David Miller; +Cc: Krishna Kumar

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


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

end of thread, other threads:[~2010-02-18  0:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 15:39 [net-next PATCH] via-velocity: Enable scatter/gather IO by default Simon Kagstrom
2010-02-17  0:20 ` David Miller
2010-02-17  6:19   ` Simon Kagstrom
2010-02-17  6:23     ` David Miller
2010-02-18  0:01 ` 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).