Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

IB/core: Add async event on device speed change

Add IB_EVENT_DEVICE_SPEED_CHANGE for notifying user applications on
device's ports speed changes.

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>

authored by

Or Har-Toov and committed by
Leon Romanovsky
263d1d99 976cc7ac

+2
+1
drivers/infiniband/core/verbs.c
··· 78 78 [IB_EVENT_QP_LAST_WQE_REACHED] = "last WQE reached", 79 79 [IB_EVENT_CLIENT_REREGISTER] = "client reregister", 80 80 [IB_EVENT_GID_CHANGE] = "GID changed", 81 + [IB_EVENT_DEVICE_SPEED_CHANGE] = "device speed change" 81 82 }; 82 83 83 84 const char *__attribute_const__ ib_event_msg(enum ib_event_type event)
+1
include/rdma/ib_verbs.h
··· 764 764 IB_EVENT_CLIENT_REREGISTER, 765 765 IB_EVENT_GID_CHANGE, 766 766 IB_EVENT_WQ_FATAL, 767 + IB_EVENT_DEVICE_SPEED_CHANGE, 767 768 }; 768 769 769 770 const char *__attribute_const__ ib_event_msg(enum ib_event_type event);