Skip to content

Commit 078bb22

Browse files
ZakKemblekuba-moo
authored andcommitted
net: bcmgenet: enable GRO software interrupt coalescing by default
Apply conservative defaults. Signed-off-by: Zak Kemble <[email protected]> Tested-by: Florian Fainelli <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 28ed9be commit 078bb22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/ethernet/broadcom/genet/bcmgenet.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3986,6 +3986,8 @@ static int bcmgenet_probe(struct platform_device *pdev)
39863986
dev->hw_features |= dev->features;
39873987
dev->vlan_features |= dev->features;
39883988

3989+
netdev_sw_irq_coalesce_default_on(dev);
3990+
39893991
/* Request the WOL interrupt and advertise suspend if available */
39903992
priv->wol_irq_disabled = true;
39913993
if (priv->wol_irq > 0) {

0 commit comments

Comments
 (0)