Lines Matching refs:bf
758 qp->bf = &uuari->bfs[uuarn]; in create_kernel_qp()
759 uar_index = qp->bf->uar->index; in create_kernel_qp()
842 free_uuar(&dev->mdev->priv.uuari, qp->bf->uuarn); in destroy_qp_kernel()
2598 struct mlx5_bf *bf = qp->bf; in mlx5_ib_post_send() local
2861 if (bf->need_lock) in mlx5_ib_post_send()
2862 spin_lock(&bf->lock); in mlx5_ib_post_send()
2864 __acquire(&bf->lock); in mlx5_ib_post_send()
2867 if (0 && nreq == 1 && bf->uuarn && inl && size > 1 && size <= bf->buf_size / 16) { in mlx5_ib_post_send()
2868 mlx5_bf_copy(bf->reg + bf->offset, (u64 *)ctrl, ALIGN(size * 16, 64), qp); in mlx5_ib_post_send()
2871 mlx5_write64((__be32 *)ctrl, bf->regreg + bf->offset, in mlx5_ib_post_send()
2872 MLX5_GET_DOORBELL_LOCK(&bf->lock32)); in mlx5_ib_post_send()
2878 bf->offset ^= bf->buf_size; in mlx5_ib_post_send()
2879 if (bf->need_lock) in mlx5_ib_post_send()
2880 spin_unlock(&bf->lock); in mlx5_ib_post_send()
2882 __release(&bf->lock); in mlx5_ib_post_send()