Lines Matching refs:bf
750 qp->bf = &uuari->bfs[uuarn]; in create_kernel_qp()
751 uar_index = qp->bf->uar->index; in create_kernel_qp()
834 free_uuar(&dev->mdev->priv.uuari, qp->bf->uuarn); in destroy_qp_kernel()
2596 struct mlx5_bf *bf = qp->bf; in mlx5_ib_post_send() local
2852 if (bf->need_lock) in mlx5_ib_post_send()
2853 spin_lock(&bf->lock); in mlx5_ib_post_send()
2855 __acquire(&bf->lock); in mlx5_ib_post_send()
2858 if (0 && nreq == 1 && bf->uuarn && inl && size > 1 && size <= bf->buf_size / 16) { in mlx5_ib_post_send()
2859 mlx5_bf_copy(bf->reg + bf->offset, (u64 *)ctrl, ALIGN(size * 16, 64), qp); in mlx5_ib_post_send()
2862 mlx5_write64((__be32 *)ctrl, bf->regreg + bf->offset, in mlx5_ib_post_send()
2863 MLX5_GET_DOORBELL_LOCK(&bf->lock32)); in mlx5_ib_post_send()
2869 bf->offset ^= bf->buf_size; in mlx5_ib_post_send()
2870 if (bf->need_lock) in mlx5_ib_post_send()
2871 spin_unlock(&bf->lock); in mlx5_ib_post_send()
2873 __release(&bf->lock); in mlx5_ib_post_send()