Re: [PATCH net-next 4/5] net/mlx4: track whether a TX doorbell is pending

From
Daniel Machon <daniel.machon@microchip.com>
Date
2026-11-12 13:41:52
Also in
linux-rdma, lkml
Reply to
Joe Damato, 2026-11-10
When the stack sets xmit_more, mlx4_en_xmit() skips the doorbell and
relies on a later call in the same batch to write it. Nothing records
that a doorbell is owed, so a path that ends the batch without writing
the doorbell leaves the WQEs posted before it unannounced to HW.

Add ring->doorbell_pending, set when the doorbell is deferred and
cleared whenever a doorbell or a BlueFlame write is issued, so such a
path can flush the deferred doorbell.

Signed-off-by: Joe Damato <redacted>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Thread (15 messages) 15 messages, 4 authors, last reply 4d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help