svn commit: r347846 - stable/11/sys/ofed/drivers/infiniband/ulp/ipoib

Hans Petter Selasky hselasky at FreeBSD.org
Thu May 16 17:59:03 UTC 2019


Author: hselasky
Date: Thu May 16 17:59:02 2019
New Revision: 347846
URL: https://svnweb.freebsd.org/changeset/base/347846

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/11/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
==============================================================================
--- stable/11/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c	Thu May 16 17:57:55 2019	(r347845)
+++ stable/11/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c	Thu May 16 17:59:02 2019	(r347846)
@@ -280,7 +280,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 mailing list