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

Commit 25156784 authored by Olof Johansson's avatar Olof Johansson
Browse files

pasemi_mac: Enable GSO by default



Ethtool support will handle the runtime toggling, but we do quite a bit
better with it on by default so just leave it on for now.

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Acked-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 8d636d8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1750,7 +1750,7 @@ pasemi_mac_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
	netif_napi_add(dev, &mac->napi, pasemi_mac_poll, 64);
	netif_napi_add(dev, &mac->napi, pasemi_mac_poll, 64);


	dev->features = NETIF_F_IP_CSUM | NETIF_F_LLTX | NETIF_F_SG |
	dev->features = NETIF_F_IP_CSUM | NETIF_F_LLTX | NETIF_F_SG |
			NETIF_F_HIGHDMA;
			NETIF_F_HIGHDMA | NETIF_F_GSO;


	mac->lro_mgr.max_aggr = LRO_MAX_AGGR;
	mac->lro_mgr.max_aggr = LRO_MAX_AGGR;
	mac->lro_mgr.max_desc = MAX_LRO_DESCRIPTORS;
	mac->lro_mgr.max_desc = MAX_LRO_DESCRIPTORS;