Re: [PATCH net 2/4] net: bcmgenet: restart DIM from the default profile on ring init

From: Florian Fainelli

Date: Wed Nov 18 2026 - 15:00:32 EST


On 11/18/26 11:55, Nicolai Buchwitz wrote:
A close can cancel the pending profile work and leave DIM in
DIM_APPLY_NEW_PROFILE, where net_dim() does nothing. Adaptive coalescing
then stays stuck after the next open.

Reset the DIM state on ring init and start from the default profile,
which is what bcmgenet_init_rx_coalesce() programs.

Fixes: 9f4ca05827a2 ("net: bcmgenet: Add support for adaptive RX coalescing")
Signed-off-by: Nicolai Buchwitz <nb@xxxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian