diff options
author | Doug Ledford <dledford@redhat.com> | 2014-08-12 19:20:10 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-08-13 01:01:55 -0400 |
commit | 2aa1cf64aa576671b3593d73a6cb0a28b90ee444 (patch) | |
tree | b45b9f0e1041a7db00bb482a6f15a014dd9e5b60 /drivers/infiniband/ulp/srpt | |
parent | e714531a349f614885ca11f68c38270940c5e915 (diff) |
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>
Diffstat (limited to 'drivers/infiniband/ulp/srpt')
-rw-r--r-- | drivers/infiniband/ulp/srpt/ib_srpt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index fe09f2788b15..fd23203c25a9 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c | |||
@@ -198,6 +198,7 @@ static void srpt_event_handler(struct ib_event_handler *handler, | |||
198 | case IB_EVENT_PKEY_CHANGE: | 198 | case IB_EVENT_PKEY_CHANGE: |
199 | case IB_EVENT_SM_CHANGE: | 199 | case IB_EVENT_SM_CHANGE: |
200 | case IB_EVENT_CLIENT_REREGISTER: | 200 | case IB_EVENT_CLIENT_REREGISTER: |
201 | case IB_EVENT_GID_CHANGE: | ||
201 | /* Refresh port data asynchronously. */ | 202 | /* Refresh port data asynchronously. */ |
202 | if (event->element.port_num <= sdev->device->phys_port_cnt) { | 203 | if (event->element.port_num <= sdev->device->phys_port_cnt) { |
203 | sport = &sdev->port[event->element.port_num - 1]; | 204 | sport = &sdev->port[event->element.port_num - 1]; |