mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
net: bcmasp: enable GRO software interrupt coalescing by default
Utilize netdev_sw_irq_coalesce_default_on() to provide conservative default settings for GRO software interrupt coalescing. Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Justin Chen <justin.chen@broadcom.com> Reviewed-by: Joe Damato <joe@dama.to> Link: https://patch.msgid.link/20250611212730.252342-3-florian.fainelli@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
391859cb17
commit
b0f5b16829
|
|
@ -1279,6 +1279,8 @@ struct bcmasp_intf *bcmasp_interface_create(struct bcmasp_priv *priv,
|
|||
ndev->hw_features |= ndev->features;
|
||||
ndev->needed_headroom += sizeof(struct bcmasp_pkt_offload);
|
||||
|
||||
netdev_sw_irq_coalesce_default_on(ndev);
|
||||
|
||||
return intf;
|
||||
|
||||
err_free_netdev:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user