mlx5_ib_pd
static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd)
return container_of(ibpd, struct mlx5_ib_pd, ibpd);
struct mlx5_ib_pd *pd = to_mpd(ibpd);
struct mlx5_ib_pd *mpd = to_mpd(pd);
static struct mlx5_ib_pd *get_pd(struct mlx5_ib_qp *qp)
struct mlx5_ib_pd *pd;
struct mlx5_ib_pd *pd)
struct mlx5_ib_pd *pd = to_mpd(qp->ibqp.pd);