]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/mlx5: Raise async event on device speed change
authorOr Har-Toov <ohartoov@nvidia.com>
Thu, 18 Dec 2025 15:58:53 +0000 (17:58 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 5 Jan 2026 07:43:12 +0000 (02:43 -0500)
commit3fd984d5cd8f0df8e79337fbd9283c31dee9ed31
treec62b328dc655a89eadaaec988b967f46a1e5ec39
parent51a07ce2fefd061edf4ba552a741c85f07b3e6dd
RDMA/mlx5: Raise async event on device speed change

Raise IB_EVENT_DEVICE_SPEED_CHANGE whenever the speed of one of the
device's ports changes. Usually all ports of the device changes
together.

This ensures user applications and upper-layer software are immediately
notified when bandwidth changes, improving traffic management in dynamic
environments. This is especially useful for vports which are part of a
LAG configuration, to know if the effective speed of the LAG was
changed.

Signed-off-by: Or Har-Toov <ohartoov@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/main.c