Lines Matching refs:xrcd
1760 MLX5_SET(qpc, qpc, xrcd, to_mxrcd(init_attr->xrcd)->xrcdn); in create_qp_common()
1764 MLX5_SET(qpc, qpc, xrcd, to_mxrcd(devr->x1)->xrcdn); in create_qp_common()
1769 MLX5_SET(qpc, qpc, xrcd, to_mxrcd(devr->x0)->xrcdn); in create_qp_common()
1772 MLX5_SET(qpc, qpc, xrcd, to_mxrcd(devr->x1)->xrcdn); in create_qp_common()
2086 dev = to_mdev(to_mxrcd(init_attr->xrcd)->ibxrcd.device); in mlx5_ib_create_qp()
2098 xrcdn = to_mxrcd(init_attr->xrcd)->xrcdn; in mlx5_ib_create_qp()
4650 struct mlx5_ib_xrcd *xrcd; in mlx5_ib_alloc_xrcd() local
4656 xrcd = kmalloc(sizeof(*xrcd), GFP_KERNEL); in mlx5_ib_alloc_xrcd()
4657 if (!xrcd) in mlx5_ib_alloc_xrcd()
4660 err = mlx5_core_xrcd_alloc(dev->mdev, &xrcd->xrcdn); in mlx5_ib_alloc_xrcd()
4662 kfree(xrcd); in mlx5_ib_alloc_xrcd()
4666 return &xrcd->ibxrcd; in mlx5_ib_alloc_xrcd()
4669 int mlx5_ib_dealloc_xrcd(struct ib_xrcd *xrcd) in mlx5_ib_dealloc_xrcd() argument
4671 struct mlx5_ib_dev *dev = to_mdev(xrcd->device); in mlx5_ib_dealloc_xrcd()
4672 u32 xrcdn = to_mxrcd(xrcd)->xrcdn; in mlx5_ib_dealloc_xrcd()
4679 kfree(xrcd); in mlx5_ib_dealloc_xrcd()