RE: [PATCH for-next] RDMA/cm: Rate limit destroy CM ID timeout error message
From: Sean Hefty
Date: Wed Oct 15 2025 - 14:34:37 EST
> > With this hack, running cmtime with 10.000 connections in loopback,
> > the "cm_destroy_id_wait_timeout: cm_id=000000007ce44ace timed out.
> > state 6 -> 0, refcnt=1" messages are indeed produced. Had to kill
> > cmtime because it was hanging, and then it got defunct with the
> > following stack:
>
> Seems like a bug, it should not hang forever if a MAD is lost..
The hack skipped calling ib_post_send. But the result of that is a completion is never written to the CQ. The state machine or reference counting is likely waiting for the completion, so it knows that HW is done trying to access the buffer.
- Sean