RDMA/ocrdma: Dispatch only port event when port state changes
authorDevesh Sharma <devesh.sharma@avagotech.com>
Thu, 24 Dec 2015 18:14:06 +0000 (13:14 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 19:00:47 +0000 (14:00 -0500)
commitd310a344e18c1d9a6a2ab11ef15f2954418c493d
tree72bded094632e4b309646f6ace3c7ab8d4f6baef
parenta2addf94a8f05171ecb98ac22d335bde09ed9f36
RDMA/ocrdma: Dispatch only port event when port state changes

Dispatch only port event to IB stack when port state changes.
Don't explicitly modify qps to error. Let application listen to
port events on async event queue or let QP fail with retry-exceeded
completion error.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@avagotech.com>
Signed-off-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_main.c