aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZak Kemble <[email protected]>2025-06-10 22:04:03 +0000
committerJakub Kicinski <[email protected]>2025-06-12 00:41:42 +0000
commit078bb22cfc652aa206c89e16d25ab3ffffc7427c (patch)
treec8451b9327a76621858e75827b71d391c9d8bbd1
parentnet: bcmgenet: use napi_complete_done return value (diff)
downloadkernel-078bb22cfc652aa206c89e16d25ab3ffffc7427c.tar.gz
kernel-078bb22cfc652aa206c89e16d25ab3ffffc7427c.zip
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]>
-rw-r--r--drivers/net/ethernet/broadcom/genet/bcmgenet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
index cc9bdd244328..4f40f6afe88f 100644
--- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c
+++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
@@ -3986,6 +3986,8 @@ static int bcmgenet_probe(struct platform_device *pdev)
dev->hw_features |= dev->features;
dev->vlan_features |= dev->features;
+ netdev_sw_irq_coalesce_default_on(dev);
+
/* Request the WOL interrupt and advertise suspend if available */
priv->wol_irq_disabled = true;
if (priv->wol_irq > 0) {