]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ehca: SRQ fixes to enable IPoIB CM
authorJoachim Fenkes <fenkes@de.ibm.com>
Fri, 31 Aug 2007 14:03:37 +0000 (16:03 +0200)
committerRoland Dreier <rolandd@cisco.com>
Fri, 31 Aug 2007 20:58:04 +0000 (13:58 -0700)
commit79188600108873202a4c2b7fbfaeb5bdcbdbebed
tree4a0b840f6cef113b175bfe63c75c0420611fca82
parent00238cc26e612d5605ed195f9b7d261d0a6307d4
IB/ehca: SRQ fixes to enable IPoIB CM

Fix ehca SRQ support so that IPoIB connected mode works:

 - Report max_srq > 0 if SRQ is supported
 - Report "last wqe reached" asynchronous event when base QP dies;
   this is required by the IB spec and IPoIB CM relies on receiving it
   when cleaning up.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_hca.c
drivers/infiniband/hw/ehca/ehca_irq.c