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>
Mon, 28 Dec 2015 16:45:54 +0000 (11:45 -0500)
commit36ac0db0dbf7081afe4137d444ef85614213b8eb
tree2a4b1e50566bccf91129bd0ec4a02ee4d9cebc58
parentc6002d5602ab36c19ef4fe0e20ecfa28aaabf028
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