Jelajahi Sumber

IB/srpt: Handle GID change events

GID change events need a refresh just like LID change events and several
others.  Handle this the same as the others.

Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Doug Ledford 11 tahun lalu
induk
melakukan
2aa1cf64aa
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      drivers/infiniband/ulp/srpt/ib_srpt.c

+ 1 - 0
drivers/infiniband/ulp/srpt/ib_srpt.c

@@ -198,6 +198,7 @@ static void srpt_event_handler(struct ib_event_handler *handler,
 	case IB_EVENT_PKEY_CHANGE:
 	case IB_EVENT_SM_CHANGE:
 	case IB_EVENT_CLIENT_REREGISTER:
+	case IB_EVENT_GID_CHANGE:
 		/* Refresh port data asynchronously. */
 		if (event->element.port_num <= sdev->device->phys_port_cnt) {
 			sport = &sdev->port[event->element.port_num - 1];