svn commit: r347755 - stable/12/sys/ofed/drivers/infiniband/ulp/ipoib
Hans Petter Selasky
hselasky at FreeBSD.org
Thu May 16 16:13:30 UTC 2019
Author: hselasky
Date: Thu May 16 16:13:29 2019
New Revision: 347755
URL: https://svnweb.freebsd.org/changeset/base/347755
Log:
MFC r347291:
Handle IB_EVENT_DEVICE_FATAL event in ipoib.
Perform flush if IB_EVENT_DEVICE_FATAL was received.
Submitted by: slavash@
Sponsored by: Mellanox Technologies
Modified:
stable/12/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
==============================================================================
--- stable/12/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c Thu May 16 16:12:51 2019 (r347754)
+++ stable/12/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c Thu May 16 16:13:29 2019 (r347755)
@@ -282,7 +282,8 @@ void ipoib_event(struct ib_event_handler *handler,
queue_work(ipoib_workqueue, &priv->flush_light);
} else if (record->event == IB_EVENT_PORT_ERR ||
record->event == IB_EVENT_PORT_ACTIVE ||
- record->event == IB_EVENT_LID_CHANGE) {
+ record->event == IB_EVENT_LID_CHANGE ||
+ record->event == IB_EVENT_DEVICE_FATAL) {
queue_work(ipoib_workqueue, &priv->flush_normal);
} else if (record->event == IB_EVENT_PKEY_CHANGE) {
queue_work(ipoib_workqueue, &priv->flush_heavy);
More information about the svn-src-stable-12
mailing list