We should work to get this 'correct' when merging upstream. >Following the "spirit" of the current code, it is probably cma_acquire_dev()'s >job to fill in the missing ibdev type information after matching the netdev to >an ibdev.
This makes sense to me. >P.S. - I really wish that we had a cleaner way to match an ibdev to a netdev >without overloading the gid table entries. >Basically, it should be the job of the entity that created the netdev to make >this association, and stuff a pointer in the netdev. Do you have a specific idea here? So far, we've tried to keep the mapping the responsibility of the rdma_cm module. With rocee, we may need to re-architect the solution and have the ib_device driver make this association. Even if it's unlikely, we need to make sure that we don't make the wrong match. _______________________________________________ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg