Skip to content

Commit

Permalink
via-velocity: Enable scatter/gather IO by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Simon Kagstrom authored and David S. Miller committed Feb 17, 2010
1 parent 25cca53 commit b6ca430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/via-velocity.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b6ca430

Please sign in to comment.