Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2019 16:13:29 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r347755 - stable/12/sys/ofed/drivers/infiniband/ulp/ipoib
Message-ID:  <201905161613.x4GGDTpc064501@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905161613.x4GGDTpc064501>