On 07/12/2015 22:43, Dennis Dalessandro wrote:
> struct rvt_dev_info {
> + /*
> + * Prior to calling for registration the driver will be responsible for
> + * allocating space for this structure. The driver will also need to
> + * allocate space for any private device or per port data structures.
> + * Alternatively rvt could do this allocation and the registration API
> + * would then change to accept an "extra" piece to allocate.
I don't think you need rvt to allocate the private data, but even if you
decide to do that, there's no need for a comment that describes all the
alternative designs here.
> + *
> + * The driver will also be
> + * responsible for filling in certain members of dparms.props
> + */
--
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