[PATCH] net/mlx5: fix processing of batched RDMA monitor events
Raslan Darawsheh
rasland at nvidia.com
Mon Sep 14 11:01:49 CEST 2026
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: stable at dpdk.org
>
> Signed-off-by: Bing Zhao <bingz at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
More information about the stable
mailing list