From: Simon Kagstrom Date: Thu, 11 Feb 2010 05:39:55 +0000 (+0000) Subject: via-velocity: Enable scatter/gather IO by default X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b6ca430599ea37843632b0eaa231dea5414dec25;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git via-velocity: Enable scatter/gather IO by default Reduces CPU utilization significantly with sendfile for example. Signed-off-by: Simon Kagstrom Signed-off-by: David S. Miller --- 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 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)