Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150339
b: refs/heads/master
c: 97bc541
h: refs/heads/master
i:
  150337: fcd1a41
  150335: 8973956
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed May 19, 2009
1 parent 87df0f4 commit 73fef40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 645069299a1c7358cf7330afe293f07552f11a5d
refs/heads/master: 97bc54152e3a91dd2dc297e8a084c05e93527e60
15 changes: 2 additions & 13 deletions trunk/drivers/net/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,6 @@ static struct workqueue_struct *reset_workqueue;
*
*************************************************************************/

/*
* Enable large receive offload (LRO) aka soft segment reassembly (SSR)
*
* This sets the default for new devices. It can be controlled later
* using ethtool.
*/
static int lro = true;
module_param(lro, int, 0644);
MODULE_PARM_DESC(lro, "Large receive offload acceleration");

/*
* Use separate channels for TX and RX events
*
Expand Down Expand Up @@ -2167,9 +2157,8 @@ static int __devinit efx_pci_probe(struct pci_dev *pci_dev,
if (!net_dev)
return -ENOMEM;
net_dev->features |= (NETIF_F_IP_CSUM | NETIF_F_SG |
NETIF_F_HIGHDMA | NETIF_F_TSO);
if (lro)
net_dev->features |= NETIF_F_GRO;
NETIF_F_HIGHDMA | NETIF_F_TSO |
NETIF_F_GRO);
/* Mask for features that also apply to VLAN devices */
net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG |
NETIF_F_HIGHDMA | NETIF_F_TSO);
Expand Down

0 comments on commit 73fef40

Please sign in to comment.