> I see that the /drivers/infiniband/core contains two identical > implementations of the qp create implementation.
> One is in verbs.c > ... > And ib_uverbs_cmd.c contains a second one. > Is there any reason for such double implementation of create_qp(). No good reason I don't think... the two implementations are very nearly the same, and it would be a nice cleanup to unify the common code into a single place. Although with that said I think there are many cleanup opportunities in the nes drive you could look at too ;) For example consolidate all the 256pbl/4kpbl handling in nes_verbs.c so you don't have variations on the same code in reg_mr, create_cq, create_qp. - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
