diff options
author | Brice Goglin <brice@myri.com> | 2009-05-24 01:27:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-25 03:35:54 -0400 |
commit | 2552c31be3bcc7681e603cde44d97b66e4a885f0 (patch) | |
tree | fe9dab8cbaeef661059587af35075a6b790783a6 /drivers/net/myri10ge/myri10ge.c | |
parent | 18af3e7c4535be88f864fc4bcff9a97fb4ae3731 (diff) |
myri10ge: drop myri10ge_lro module parameter
Drop the myri10ge_lro module parameter now that we have ethtool
to enable/disable LRO in the myri10ge driver.
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index d317011aa56a..675f6771f2ea 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -327,10 +327,6 @@ static int myri10ge_debug = -1; /* defaults above */ | |||
327 | module_param(myri10ge_debug, int, 0); | 327 | module_param(myri10ge_debug, int, 0); |
328 | MODULE_PARM_DESC(myri10ge_debug, "Debug level (0=none,...,16=all)"); | 328 | MODULE_PARM_DESC(myri10ge_debug, "Debug level (0=none,...,16=all)"); |
329 | 329 | ||
330 | static int myri10ge_lro = 1; | ||
331 | module_param(myri10ge_lro, int, S_IRUGO); | ||
332 | MODULE_PARM_DESC(myri10ge_lro, "Enable large receive offload"); | ||
333 | |||
334 | static int myri10ge_lro_max_pkts = MYRI10GE_LRO_MAX_PKTS; | 330 | static int myri10ge_lro_max_pkts = MYRI10GE_LRO_MAX_PKTS; |
335 | module_param(myri10ge_lro_max_pkts, int, S_IRUGO); | 331 | module_param(myri10ge_lro_max_pkts, int, S_IRUGO); |
336 | MODULE_PARM_DESC(myri10ge_lro_max_pkts, | 332 | MODULE_PARM_DESC(myri10ge_lro_max_pkts, |
@@ -3918,8 +3914,7 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
3918 | 3914 | ||
3919 | if (dac_enabled) | 3915 | if (dac_enabled) |
3920 | netdev->features |= NETIF_F_HIGHDMA; | 3916 | netdev->features |= NETIF_F_HIGHDMA; |
3921 | if (myri10ge_lro) | 3917 | netdev->features |= NETIF_F_LRO; |
3922 | netdev->features |= NETIF_F_LRO; | ||
3923 | 3918 | ||
3924 | /* make sure we can get an irq, and that MSI can be | 3919 | /* make sure we can get an irq, and that MSI can be |
3925 | * setup (if available). Also ensure netdev->irq | 3920 | * setup (if available). Also ensure netdev->irq |