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

Commit 97bc5415 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

sfc: Remove lro module parameter



GRO/LRO can be controlled through ethtool so this is unnecessary.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 64506929
Loading
Loading
Loading
Loading
+2 −13
Original line number Original line Diff line number Diff line
@@ -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
 * Use separate channels for TX and RX events
 *
 *
@@ -2167,9 +2157,8 @@ static int __devinit efx_pci_probe(struct pci_dev *pci_dev,
	if (!net_dev)
	if (!net_dev)
		return -ENOMEM;
		return -ENOMEM;
	net_dev->features |= (NETIF_F_IP_CSUM | NETIF_F_SG |
	net_dev->features |= (NETIF_F_IP_CSUM | NETIF_F_SG |
			      NETIF_F_HIGHDMA | NETIF_F_TSO);
			      NETIF_F_HIGHDMA | NETIF_F_TSO |
	if (lro)
			      NETIF_F_GRO);
		net_dev->features |= NETIF_F_GRO;
	/* Mask for features that also apply to VLAN devices */
	/* Mask for features that also apply to VLAN devices */
	net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG |
	net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG |
				   NETIF_F_HIGHDMA | NETIF_F_TSO);
				   NETIF_F_HIGHDMA | NETIF_F_TSO);