Lines Matching refs:host_qp
777 ilog2(tracker->host_qp->tracked_page_size)); in mlx5vf_create_tracker()
779 ilog2(tracker->host_qp->max_msg_size)); in mlx5vf_create_tracker()
924 if (qp_num != tracker->host_qp->qpn && in mlx5vf_event_notifier()
1121 bool host_qp) in mlx5vf_activate_qp() argument
1141 if (host_qp) { in mlx5vf_activate_qp()
1163 if (ret || host_qp) in mlx5vf_activate_qp()
1336 mlx5vf_free_qp_recv_resources(mdev, tracker->host_qp); in _mlx5vf_free_page_tracker_resources()
1337 mlx5vf_destroy_qp(mdev, tracker->host_qp); in _mlx5vf_free_page_tracker_resources()
1368 struct mlx5_vhca_qp *host_qp; in mlx5vf_start_page_tracker() local
1404 host_qp = mlx5vf_create_rc_qp(mdev, tracker, max_recv_wr); in mlx5vf_start_page_tracker()
1405 if (IS_ERR(host_qp)) { in mlx5vf_start_page_tracker()
1406 err = PTR_ERR(host_qp); in mlx5vf_start_page_tracker()
1410 host_qp->max_msg_size = max_msg_size; in mlx5vf_start_page_tracker()
1421 host_qp->tracked_page_size = (1ULL << log_tracked_page); in mlx5vf_start_page_tracker()
1422 err = mlx5vf_alloc_qp_recv_resources(mdev, host_qp, tracker->pdn, in mlx5vf_start_page_tracker()
1433 err = mlx5vf_activate_qp(mdev, host_qp, fw_qp->qpn, true); in mlx5vf_start_page_tracker()
1437 err = mlx5vf_activate_qp(mdev, fw_qp, host_qp->qpn, false); in mlx5vf_start_page_tracker()
1441 tracker->host_qp = host_qp; in mlx5vf_start_page_tracker()
1449 *page_size = host_qp->tracked_page_size; in mlx5vf_start_page_tracker()
1457 mlx5vf_free_qp_recv_resources(mdev, host_qp); in mlx5vf_start_page_tracker()
1459 mlx5vf_destroy_qp(mdev, host_qp); in mlx5vf_start_page_tracker()
1597 poll_err = mlx5vf_cq_poll_one(cq, tracker->host_qp, dirty, in mlx5vf_tracker_read_and_clear()
1602 poll_err = mlx5vf_cq_poll_one(cq, tracker->host_qp, in mlx5vf_tracker_read_and_clear()