SoftRoCE / rxe-dev

Development Repository for RXE
Other
132 stars 56 forks source link

Destroy SRQ does not fail if associated QPs exist #39

Open psebexen opened 9 years ago

psebexen commented 9 years ago

If this is indeed incorrect, I propose adding an integer member to struct rxe_srq to count the number of associated QPs and update the Create QP, Delete QP, and Delete SRQ verbs accordingly.

Here is the IB Spec statement for reference: o10-10.2.3: If the HCA supports SRQ and the Consumer invokes the Destroy SRQ verb while there are QPs still associated with the SRQ, the CI shall return an Immediate Error.