diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-05-19 19:19:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-19 19:19:08 -0400 |
commit | 97bc54152e3a91dd2dc297e8a084c05e93527e60 (patch) | |
tree | b8c42a294d3cb81a2feefe309f02c32a3818055a /drivers/net/sfc | |
parent | 645069299a1c7358cf7330afe293f07552f11a5d (diff) |
sfc: Remove lro module parameter
GRO/LRO can be controlled through ethtool so this is unnecessary.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r-- | drivers/net/sfc/efx.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index bde8b7ac398a..343e8da1fa30 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -50,16 +50,6 @@ static struct workqueue_struct *reset_workqueue; | |||
50 | *************************************************************************/ | 50 | *************************************************************************/ |
51 | 51 | ||
52 | /* | 52 | /* |
53 | * Enable large receive offload (LRO) aka soft segment reassembly (SSR) | ||
54 | * | ||
55 | * This sets the default for new devices. It can be controlled later | ||
56 | * using ethtool. | ||
57 | */ | ||
58 | static int lro = true; | ||
59 | module_param(lro, int, 0644); | ||
60 | MODULE_PARM_DESC(lro, "Large receive offload acceleration"); | ||
61 | |||
62 | /* | ||
63 | * Use separate channels for TX and RX events | 53 | * Use separate channels for TX and RX events |
64 | * | 54 | * |
65 | * Set this to 1 to use separate channels for TX and RX. It allows us | 55 | * Set this to 1 to use separate channels for TX and RX. It allows us |
@@ -2167,9 +2157,8 @@ static int __devinit efx_pci_probe(struct pci_dev *pci_dev, | |||
2167 | if (!net_dev) | 2157 | if (!net_dev) |
2168 | return -ENOMEM; | 2158 | return -ENOMEM; |
2169 | net_dev->features |= (NETIF_F_IP_CSUM | NETIF_F_SG | | 2159 | net_dev->features |= (NETIF_F_IP_CSUM | NETIF_F_SG | |
2170 | NETIF_F_HIGHDMA | NETIF_F_TSO); | 2160 | NETIF_F_HIGHDMA | NETIF_F_TSO | |
2171 | if (lro) | 2161 | NETIF_F_GRO); |
2172 | net_dev->features |= NETIF_F_GRO; | ||
2173 | /* Mask for features that also apply to VLAN devices */ | 2162 | /* Mask for features that also apply to VLAN devices */ |
2174 | net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG | | 2163 | net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG | |
2175 | NETIF_F_HIGHDMA | NETIF_F_TSO); | 2164 | NETIF_F_HIGHDMA | NETIF_F_TSO); |