Handle IB_EVENT_DEVICE_FATAL event in ipoib.
Perform flush if IB_EVENT_DEVICE_FATAL was received. Submitted by: slavash@ MFC after: 3 days Sponsored by: Mellanox Technologies
This commit is contained in:
parent
03ee9ea9bf
commit
afbe61616f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347291
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user