On Thu, 2004-09-30 at 15:50, Roland Dreier wrote: > struct ib_qp already has a struct ib_pd *, so maybe the consumer can > just use mad_agent->qp->pd? Yup. He's already got a way to get the PD. Rather than the MR, I think just adding the lkey to the mad_agent structure will suffice. Do you agree ? -- Hal