> @@ -769,6 +775,7 @@ struct ib_ucontext {
 >      struct list_head        srq_list;
 >      struct list_head        ah_list;
 >      struct list_head        xrc_domain_list;
 > +    struct list_head        xrc_reg_qp_list;
 >      int                     closing;
 >  };

Wouldn't it be cleaner to keep the like of recv QPs per xrcd?  Then you
wouldn't have to do stuff like:

 > +    list_for_each_entry(tmp, &file->ucontext->xrc_reg_qp_list, list)
 > +            if (cmd.xrcd_handle == tmp->domain_handle) {

instead you could just do a list_empty() test.

 - R.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to