Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2552c31b authored by Brice Goglin's avatar Brice Goglin Committed by David S. Miller
Browse files

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: default avatarBrice Goglin <brice@myri.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 18af3e7c
Loading
Loading
Loading
Loading
+1 −6
Original line number Original line Diff line number Diff line
@@ -327,10 +327,6 @@ static int myri10ge_debug = -1; /* defaults above */
module_param(myri10ge_debug, int, 0);
module_param(myri10ge_debug, int, 0);
MODULE_PARM_DESC(myri10ge_debug, "Debug level (0=none,...,16=all)");
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;
static int myri10ge_lro_max_pkts = MYRI10GE_LRO_MAX_PKTS;
module_param(myri10ge_lro_max_pkts, int, S_IRUGO);
module_param(myri10ge_lro_max_pkts, int, S_IRUGO);
MODULE_PARM_DESC(myri10ge_lro_max_pkts,
MODULE_PARM_DESC(myri10ge_lro_max_pkts,
@@ -3918,7 +3914,6 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent)


	if (dac_enabled)
	if (dac_enabled)
		netdev->features |= NETIF_F_HIGHDMA;
		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
	/* make sure we can get an irq, and that MSI can be