Hi,
On 09/09/2026 8:00 AM, Bing Zhao wrote:
mlx5_nl_read_events() may deliver multiple RDMA attach or detach
messages in one drain. The interrupt handler previously parsed all
messages into one structure and processed only the last one, leaving
earlier port cache updates unhandled.
Parse and process each Netlink message in its callback. Always drain
pending messages, validate the port index before updating the cache,
and log at INFO when multiple messages for the same IB device are
received in one drain.
Fixes: 2a18d0022c05 ("common/mlx5: use RDMA Netlink to update port info")
Cc: [email protected]
Signed-off-by: Bing Zhao <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh