Skip to content

Commit

Permalink
myri10ge: drop myri10ge_lro module parameter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brice Goglin authored and David S. Miller committed May 25, 2009
1 parent 18af3e7 commit 2552c31
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/net/myri10ge/myri10ge.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,6 @@ static int myri10ge_debug = -1; /* defaults above */
module_param(myri10ge_debug, int, 0);
MODULE_PARM_DESC(myri10ge_debug, "Debug level (0=none,...,16=all)");

static int myri10ge_lro = 1;
module_param(myri10ge_lro, int, S_IRUGO);
MODULE_PARM_DESC(myri10ge_lro, "Enable large receive offload");

static int myri10ge_lro_max_pkts = MYRI10GE_LRO_MAX_PKTS;
module_param(myri10ge_lro_max_pkts, int, S_IRUGO);
MODULE_PARM_DESC(myri10ge_lro_max_pkts,
Expand Down Expand Up @@ -3918,8 +3914,7 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent)

if (dac_enabled)
netdev->features |= NETIF_F_HIGHDMA;
if (myri10ge_lro)
netdev->features |= NETIF_F_LRO;
netdev->features |= NETIF_F_LRO;

/* make sure we can get an irq, and that MSI can be
* setup (if available). Also ensure netdev->irq
Expand Down

0 comments on commit 2552c31

Please sign in to comment.