>> Moreover there was discussion about getting this data from the CM REQ >> private data. So, what is the exact rationale for adding this to the >> net_device structure? > >To get at the ib_device, port, and PKey which are needed for a >subsequent SA path record request.
We should be able to retrieve the device and port through GID matching. I'm not sure how safe it is to access the device pointer in the case of device removal. Reading the device pointer from the rdma_ptr would need to be synchronized with ipoib's device removal handling, but maybe that's handled by the reference on the net_device...? Does ipoib create a device per pkey associated with a port? Is it possible for a user to get at a pkey other than the one at index 0 given only an IP address? - Sean _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
