Message ID | 20240604072825.7490-7-paul.barker.ct@bp.renesas.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 65c482bc226ab25a7884ee6fd1cc09bb08cbd1be |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Improve GbEth performance on Renesas RZ/G2L and related SoCs | expand |
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index 2c24cb0271af..c89bb38492b4 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -2944,8 +2944,11 @@ static int ravb_probe(struct platform_device *pdev) if (info->nc_queues) netif_napi_add(ndev, &priv->napi[RAVB_NC], ravb_poll); - if (info->coalesce_irqs) + if (info->coalesce_irqs) { netdev_sw_irq_coalesce_default_on(ndev); + if (num_present_cpus() == 1) + dev_set_threaded(ndev, true); + } /* Network device register */ error = register_netdev(ndev);