diff options
author | Simon Kagstrom <simon.kagstrom@netinsight.net> | 2010-02-11 00:39:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 18:59:39 -0500 |
commit | b6ca430599ea37843632b0eaa231dea5414dec25 (patch) | |
tree | 8d8c0dfb04ec15783a51fb6af04e6db5b8d72fa7 | |
parent | 25cca5352712561fba97bd37c495593d641c1d39 (diff) |
via-velocity: Enable scatter/gather IO by default
Reduces CPU utilization significantly with sendfile for example.
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | 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 cd4e866321f8..4e47f2683b83 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 | |||
2825 | netif_napi_add(dev, &vptr->napi, velocity_poll, VELOCITY_NAPI_WEIGHT); | 2825 | netif_napi_add(dev, &vptr->napi, velocity_poll, VELOCITY_NAPI_WEIGHT); |
2826 | 2826 | ||
2827 | dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER | | 2827 | dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER | |
2828 | NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM; | 2828 | NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM | NETIF_F_SG; |
2829 | 2829 | ||
2830 | ret = register_netdev(dev); | 2830 | ret = register_netdev(dev); |
2831 | if (ret < 0) | 2831 | if (ret < 0) |