/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | ehca_qp.c | 465 int qp_type, max_send_sge, max_recv_sge, ret; in internal_create_qp() local 486 qp_type = init_attr->qp_type; in internal_create_qp() 497 if (qp_type & 0x80) { in internal_create_qp() 500 parms.ll_comp_flags = qp_type & LLQP_COMP_MASK; in internal_create_qp() 502 qp_type &= 0x1F; in internal_create_qp() 503 init_attr->qp_type &= 0x1F; in internal_create_qp() 509 if (qp_type == IB_QPT_UC) { in internal_create_qp() 540 if (qp_type != IB_QPT_UD && in internal_create_qp() 541 qp_type != IB_QPT_UC && in internal_create_qp() 542 qp_type != IB_QPT_RC && in internal_create_qp() [all …]
|
D | ehca_mcast.c | 67 if (ibqp->qp_type != IB_QPT_UD) { in ehca_attach_mcast() 68 ehca_err(ibqp->device, "invalid qp_type=%x", ibqp->qp_type); in ehca_attach_mcast() 104 if (ibqp->qp_type != IB_QPT_UD) { in ehca_detach_mcast() 105 ehca_err(ibqp->device, "invalid qp_type %x", ibqp->qp_type); in ehca_detach_mcast()
|
D | ehca_sqp.c | 75 switch (qp_init_attr->qp_type) { in ehca_define_sqp() 98 qp_init_attr->qp_type); in ehca_define_sqp()
|
D | ehca_reqs.c | 220 switch (qp->qp_type) { in ehca_write_swqe() 255 if (qp->qp_type == IB_QPT_SMI || in ehca_write_swqe() 256 qp->qp_type == IB_QPT_GSI) in ehca_write_swqe() 258 if (qp->qp_type == IB_QPT_GSI) { in ehca_write_swqe() 304 ehca_gen_err("Invalid qptype=%x", qp->qp_type); in ehca_write_swqe()
|
D | ehca_classes.h | 190 u32 qp_type; member 409 u32 qp_type; member
|
D | ehca_main.c | 588 qp_init_attr.qp_type = IB_QPT_GSI; in ehca_create_aqp1()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | ud.c | 90 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback() 91 IB_QPT_UD : sqp->ibqp.qp_type; in ud_loopback() 92 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback() 93 IB_QPT_UD : qp->ibqp.qp_type; in ud_loopback() 234 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) { in ud_loopback() 235 if (sqp->ibqp.qp_type == IB_QPT_GSI || in ud_loopback() 236 sqp->ibqp.qp_type == IB_QPT_SMI) in ud_loopback() 245 if (wc.slid == 0 && sqp->ibqp.qp_type == IB_QPT_GSI) in ud_loopback() 318 qp->ibqp.qp_type == IB_QPT_GSI)))) { in hfi1_make_ud_req() 379 if (qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_make_ud_req() [all …]
|
D | ruc.c | 433 qp->ibqp.qp_type != sqp->ibqp.qp_type) { in ruc_loopback() 439 if (sqp->ibqp.qp_type == IB_QPT_RC) in ruc_loopback() 599 if (qp->ibqp.qp_type == IB_QPT_UC) in ruc_loopback() 642 if (sqp->ibqp.qp_type == IB_QPT_RC) { in ruc_loopback() 844 if ((qp->ibqp.qp_type == IB_QPT_RC || in hfi1_do_send() 845 qp->ibqp.qp_type == IB_QPT_UC) && in hfi1_do_send() 852 if (qp->ibqp.qp_type == IB_QPT_RC) in hfi1_do_send() 854 else if (qp->ibqp.qp_type == IB_QPT_UC) in hfi1_do_send() 912 if (qp->ibqp.qp_type == IB_QPT_UD || in hfi1_send_complete() 913 qp->ibqp.qp_type == IB_QPT_SMI || in hfi1_send_complete() [all …]
|
D | qp.c | 422 if (qp->ibqp.qp_type == IB_QPT_UD || in clear_mr_refs() 423 qp->ibqp.qp_type == IB_QPT_SMI || in clear_mr_refs() 424 qp->ibqp.qp_type == IB_QPT_GSI) in clear_mr_refs() 435 if (qp->ibqp.qp_type != IB_QPT_RC) in clear_mr_refs() 629 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, in hfi1_modify_qp() 658 if (qp->ibqp.qp_type == IB_QPT_SMI || in hfi1_modify_qp() 659 qp->ibqp.qp_type == IB_QPT_GSI || in hfi1_modify_qp() 738 reset_qp(qp, ibqp->qp_type); in hfi1_modify_qp() 754 if (qp->ibqp.qp_type == IB_QPT_RC) in hfi1_modify_qp() 936 init_attr->qp_type = qp->ibqp.qp_type; in hfi1_query_qp() [all …]
|
D | verbs.c | 386 if (qp->ibqp.qp_type == IB_QPT_UC) { in post_one_send() 389 } else if (qp->ibqp.qp_type != IB_QPT_RC) { in post_one_send() 418 if (qp->ibqp.qp_type != IB_QPT_UC && in post_one_send() 419 qp->ibqp.qp_type != IB_QPT_RC) in post_one_send() 451 if (qp->ibqp.qp_type == IB_QPT_UC || in post_one_send() 452 qp->ibqp.qp_type == IB_QPT_RC) { in post_one_send() 832 else if (qp->ibqp.qp_type == IB_QPT_RC) { in verbs_sdma_complete() 1211 } else if (qp->ibqp.qp_type == IB_QPT_RC) { in hfi1_verbs_send_pio() 1329 if ((qp->ibqp.qp_type == IB_QPT_SMI) || in hfi1_verbs_send() 2156 if (packet->qp->ibqp.qp_type == IB_QPT_UC) in hfi1_cnp_rcv() [all …]
|
D | driver.c | 326 switch (qp->ibqp.qp_type) { in rcv_hdrerr() 391 switch (qp->ibqp.qp_type) { in rcv_hdrerr() 451 switch (qp->ibqp.qp_type) { in process_ecn()
|
D | diag.c | 1773 } else if (qp->ibqp.qp_type == IB_QPT_RC) { in snoop_send_pio_handler()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | qp.c | 248 if (qp->ibqp.qp_type == IB_QPT_UD) { in post_nop_wqe() 605 if (attr->qp_type == IB_QPT_XRC_INI || attr->qp_type == IB_QPT_XRC_TGT) in qp_has_rq() 642 enum mlx4_ib_qp_type qp_type = (enum mlx4_ib_qp_type) init_attr->qp_type; in create_qp_common() local 651 if (init_attr->qp_type == IB_QPT_GSI) in create_qp_common() 652 qp_type = MLX4_IB_QPT_PROXY_GSI; in create_qp_common() 656 qp_type = MLX4_IB_QPT_PROXY_SMI_OWNER; in create_qp_common() 658 qp_type = MLX4_IB_QPT_PROXY_SMI; in create_qp_common() 673 qp_type = MLX4_IB_QPT_TUN_GSI; in create_qp_common() 677 qp_type = MLX4_IB_QPT_TUN_SMI_OWNER; in create_qp_common() 679 qp_type = MLX4_IB_QPT_TUN_SMI; in create_qp_common() [all …]
|
D | mad.c | 641 err = mlx4_ib_send_to_slave(dev, slave, port, wc->qp->qp_type, wc, grh, mad); in mlx4_ib_demux_mad() 712 err = mlx4_ib_send_to_slave(dev, slave, port, wc->qp->qp_type, wc, grh, mad); in mlx4_ib_demux_mad() 1143 size = (tun_qp->qp->qp_type == IB_QPT_UD) ? in mlx4_ib_post_pv_qp_buf() 1418 enum ib_qp_type qp_type, int is_tun) in mlx4_ib_alloc_pv_bufs() argument 1424 if (qp_type > IB_QPT_GSI) in mlx4_ib_alloc_pv_bufs() 1427 tun_qp = &ctx->qp[qp_type]; in mlx4_ib_alloc_pv_bufs() 1485 tun_qp->proxy_qpt = qp_type; in mlx4_ib_alloc_pv_bufs() 1512 enum ib_qp_type qp_type, int is_tun) in mlx4_ib_free_pv_qp_bufs() argument 1518 if (qp_type > IB_QPT_GSI) in mlx4_ib_free_pv_qp_bufs() 1521 tun_qp = &ctx->qp[qp_type]; in mlx4_ib_free_pv_qp_bufs() [all …]
|
D | cq.c | 734 if (wc->qp->qp_type == IB_QPT_XRC_TGT) { in mlx4_ib_poll_one()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | qp.c | 74 static int is_qp0(enum ib_qp_type qp_type) in is_qp0() argument 76 return qp_type == IB_QPT_SMI; in is_qp0() 79 static int is_sqp(enum ib_qp_type qp_type) in is_sqp() argument 81 return is_qp0(qp_type) || is_qp1(qp_type); in is_sqp() 131 qp->ibqp.qp_type); in mlx5_ib_read_user_wqe() 258 static int sq_overhead(enum ib_qp_type qp_type) in sq_overhead() argument 262 switch (qp_type) { in sq_overhead() 307 size = sq_overhead(attr->qp_type); in calc_send_wqe() 344 qp->max_inline_data = wqe_size - sq_overhead(attr->qp_type) - in calc_sq_size() 402 if (attr->qp_type == IB_QPT_XRC_INI || in qp_has_rq() [all …]
|
D | odp.c | 434 switch (qp->ibqp.qp_type) { in mlx5_ib_mr_initiator_pfault_handler() 477 qp->ibqp.qp_type, opcode); in mlx5_ib_mr_initiator_pfault_handler() 511 switch (qp->ibqp.qp_type) { in mlx5_ib_mr_responder_pfault_handler() 520 qp->ibqp.qp_type); in mlx5_ib_mr_responder_pfault_handler()
|
D | mlx5_ib.h | 657 static inline int is_qp1(enum ib_qp_type qp_type) in is_qp1() argument 659 return qp_type == IB_QPT_GSI; in is_qp1()
|
D | main.c | 1114 init_attr->qp_type = MLX5_IB_QPT_REG_UMR; in create_umr_res() 1125 qp->qp_type = MLX5_IB_QPT_REG_UMR; in create_umr_res()
|
D | cq.c | 231 if (unlikely(is_qp1(qp->ibqp.qp_type))) { in handle_responder()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 68 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback() 69 IB_QPT_UD : sqp->ibqp.qp_type; in qib_ud_loopback() 70 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback() 71 IB_QPT_UD : qp->ibqp.qp_type; in qib_ud_loopback() 212 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback() 348 if (qp->ibqp.qp_type == IB_QPT_SMI) in qib_make_ud_req() 364 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? QIB_DEFAULT_P_KEY : in qib_make_ud_req() 365 qib_get_pkey(ibp, qp->ibqp.qp_type == IB_QPT_GSI ? in qib_make_ud_req() 571 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_rcv()
|
D | qib_ruc.c | 411 qp->ibqp.qp_type != sqp->ibqp.qp_type) { in qib_ruc_loopback() 417 if (sqp->ibqp.qp_type == IB_QPT_RC) in qib_ruc_loopback() 577 if (qp->ibqp.qp_type == IB_QPT_UC) in qib_ruc_loopback() 620 if (sqp->ibqp.qp_type == IB_QPT_RC) { in qib_ruc_loopback() 726 if ((qp->ibqp.qp_type == IB_QPT_RC || in qib_do_send() 727 qp->ibqp.qp_type == IB_QPT_UC) && in qib_do_send() 733 if (qp->ibqp.qp_type == IB_QPT_RC) in qib_do_send() 735 else if (qp->ibqp.qp_type == IB_QPT_UC) in qib_do_send() 785 if (qp->ibqp.qp_type == IB_QPT_UD || in qib_send_complete() 786 qp->ibqp.qp_type == IB_QPT_SMI || in qib_send_complete() [all …]
|
D | qib_qp.c | 437 if (qp->ibqp.qp_type == IB_QPT_UD || in clear_mr_refs() 438 qp->ibqp.qp_type == IB_QPT_SMI || in clear_mr_refs() 439 qp->ibqp.qp_type == IB_QPT_GSI) in clear_mr_refs() 450 if (qp->ibqp.qp_type != IB_QPT_RC) in clear_mr_refs() 588 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, in qib_modify_qp() 617 if (qp->ibqp.qp_type == IB_QPT_SMI || in qib_modify_qp() 618 qp->ibqp.qp_type == IB_QPT_GSI || in qib_modify_qp() 719 qib_reset_qp(qp, ibqp->qp_type); in qib_modify_qp() 735 if (qp->ibqp.qp_type == IB_QPT_RC) in qib_modify_qp() 900 init_attr->qp_type = qp->ibqp.qp_type; in qib_query_qp() [all …]
|
D | qib_verbs.c | 368 } else if (qp->ibqp.qp_type == IB_QPT_UC) { in qib_post_one_send() 371 } else if (qp->ibqp.qp_type != IB_QPT_RC) { in qib_post_one_send() 401 if (qp->ibqp.qp_type != IB_QPT_UC && in qib_post_one_send() 402 qp->ibqp.qp_type != IB_QPT_RC) in qib_post_one_send() 437 if (qp->ibqp.qp_type == IB_QPT_UC || in qib_post_one_send() 438 qp->ibqp.qp_type == IB_QPT_RC) { in qib_post_one_send() 589 switch (qp->ibqp.qp_type) { in qib_qp_rcv() 1103 else if (qp->ibqp.qp_type == IB_QPT_RC) { in sdma_complete() 1375 } else if (qp->ibqp.qp_type == IB_QPT_RC) { in qib_verbs_send_pio() 1413 if (qp->ibqp.qp_type == IB_QPT_SMI || in qib_verbs_send()
|
D | qib_driver.c | 370 switch (qp->ibqp.qp_type) { in qib_rcv_hdrerr()
|
D | qib_sdma.c | 669 if (qp->ibqp.qp_type == IB_QPT_RC) { in qib_sdma_verbs_send()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_ruc.c | 317 if (sqp->ibqp.qp_type == IB_QPT_RC) in ipath_ruc_loopback() 456 if (qp->ibqp.qp_type == IB_QPT_UC) in ipath_ruc_loopback() 492 if (sqp->ibqp.qp_type == IB_QPT_RC) { in ipath_ruc_loopback() 519 qp->ibqp.qp_type == IB_QPT_SMI) { in want_buffer() 645 if ((qp->ibqp.qp_type == IB_QPT_RC || in ipath_do_send() 646 qp->ibqp.qp_type == IB_QPT_UC) && in ipath_do_send() 652 if (qp->ibqp.qp_type == IB_QPT_RC) in ipath_do_send() 654 else if (qp->ibqp.qp_type == IB_QPT_UC) in ipath_do_send()
|
D | ipath_qp.c | 464 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, in ipath_modify_qp() 526 ipath_reset_qp(qp, ibqp->qp_type); in ipath_modify_qp() 535 if (qp->ibqp.qp_type == IB_QPT_RC) in ipath_modify_qp() 665 init_attr->qp_type = qp->ibqp.qp_type; in ipath_query_qp() 779 switch (init_attr->qp_type) { in ipath_create_qp() 809 if (sg_list_sz && (init_attr->qp_type == IB_QPT_UD || in ipath_create_qp() 810 init_attr->qp_type == IB_QPT_SMI || in ipath_create_qp() 811 init_attr->qp_type == IB_QPT_GSI)) { in ipath_create_qp() 861 init_attr->qp_type); in ipath_create_qp() 869 ipath_reset_qp(qp, init_attr->qp_type); in ipath_create_qp()
|
D | ipath_verbs.c | 349 if (qp->ibqp.qp_type != IB_QPT_SMI && in ipath_post_one_send() 368 if (qp->ibqp.qp_type == IB_QPT_UC) { in ipath_post_one_send() 371 } else if (qp->ibqp.qp_type == IB_QPT_UD) { in ipath_post_one_send() 399 if (qp->ibqp.qp_type != IB_QPT_UC && in ipath_post_one_send() 400 qp->ibqp.qp_type != IB_QPT_RC) in ipath_post_one_send() 431 if (qp->ibqp.qp_type == IB_QPT_UC || in ipath_post_one_send() 432 qp->ibqp.qp_type == IB_QPT_RC) { in ipath_post_one_send() 563 switch (qp->ibqp.qp_type) { in ipath_qp_rcv() 1354 if (qp->ibqp.qp_type == IB_QPT_SMI || in ipath_verbs_send()
|
D | ipath_ud.c | 349 if (qp->ibqp.qp_type == IB_QPT_SMI) in ipath_make_ud_req() 365 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? IPATH_DEFAULT_P_KEY : in ipath_make_ud_req()
|
/linux-4.4.14/include/rdma/ |
D | rdma_cm.h | 156 enum ib_qp_type qp_type; member 175 enum ib_qp_type qp_type);
|
D | ib_cm.h | 126 enum ib_qp_type qp_type; member 370 enum ib_qp_type qp_type; member
|
D | ib_mad.h | 574 enum ib_qp_type qp_type, 605 enum ib_qp_type qp_type,
|
D | ib_verbs.h | 891 enum ib_qp_type qp_type; member 900 enum ib_qp_type qp_type; member 1354 enum ib_qp_type qp_type; member
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1215 if ((attrs->qp_type != IB_QPT_GSI) && in ocrdma_check_qp_params() 1216 (attrs->qp_type != IB_QPT_RC) && in ocrdma_check_qp_params() 1217 (attrs->qp_type != IB_QPT_UC) && in ocrdma_check_qp_params() 1218 (attrs->qp_type != IB_QPT_UD)) { in ocrdma_check_qp_params() 1220 __func__, dev->id, attrs->qp_type); in ocrdma_check_qp_params() 1224 if ((attrs->qp_type != IB_QPT_GSI) && in ocrdma_check_qp_params() 1261 if (ibpd->uobject && attrs->qp_type == IB_QPT_GSI) { in ocrdma_check_qp_params() 1264 __func__, dev->id, attrs->qp_type); in ocrdma_check_qp_params() 1268 if (attrs->qp_type == IB_QPT_GSI && dev->gsi_qp_created) { in ocrdma_check_qp_params() 1274 if ((attrs->qp_type != IB_QPT_GSI) && (dev->gsi_qp_created)) { in ocrdma_check_qp_params() [all …]
|
D | ocrdma.h | 426 enum ib_qp_type qp_type; member
|
D | ocrdma_hw.c | 2388 switch (attrs->qp_type) { in ocrdma_mbx_create_qp() 2586 } else if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_UD) { in ocrdma_set_qp_params()
|
/linux-4.4.14/include/uapi/rdma/ |
D | ib_user_cm.h | 134 __u32 qp_type; member 238 __u32 qp_type; member
|
D | rdma_netlink.h | 57 __u8 qp_type; member
|
D | ib_user_verbs.h | 514 __u8 qp_type; member 532 __u8 qp_type; member 544 __u8 qp_type; member
|
D | rdma_user_cm.h | 85 __u8 qp_type; member
|
/linux-4.4.14/drivers/infiniband/core/ |
D | verbs.c | 570 qp->qp_type = real_qp->qp_type; in __ib_open_qp() 584 if (qp_open_attr->qp_type != IB_QPT_XRC_TGT) in ib_open_qp() 614 qp->qp_type = qp_init_attr->qp_type; in ib_create_qp() 617 if (qp_init_attr->qp_type == IB_QPT_XRC_TGT) { in ib_create_qp() 637 if (qp_init_attr->qp_type == IB_QPT_XRC_INI) { in ib_create_qp() 1375 if (gid->raw[0] != 0xff || qp->qp_type != IB_QPT_UD) in ib_attach_mcast() 1391 if (gid->raw[0] != 0xff || qp->qp_type != IB_QPT_UD) in ib_detach_mcast()
|
D | cm_msgs.h | 176 enum ib_qp_type qp_type) in cm_req_set_qp_type() argument 178 switch(qp_type) { in cm_req_set_qp_type() 540 static inline __be32 cm_rep_get_qpn(struct cm_rep_msg *rep_msg, enum ib_qp_type qp_type) in cm_rep_get_qpn() argument 542 return (qp_type == IB_QPT_XRC_INI) ? in cm_rep_get_qpn()
|
D | ucma.c | 336 if (cm_id->qp_type == IB_QPT_UD) in ucma_event_handler() 432 static int ucma_get_qp_type(struct rdma_ucm_create_id *cmd, enum ib_qp_type *qp_type) in ucma_get_qp_type() argument 436 *qp_type = IB_QPT_RC; in ucma_get_qp_type() 440 *qp_type = IB_QPT_UD; in ucma_get_qp_type() 443 *qp_type = cmd->qp_type; in ucma_get_qp_type() 456 enum ib_qp_type qp_type; in ucma_create_id() local 465 ret = ucma_get_qp_type(&cmd, &qp_type); in ucma_create_id() 477 ucma_event_handler, ctx, cmd.ps, qp_type); in ucma_create_id()
|
D | cm.c | 228 enum ib_qp_type qp_type; member 877 if (cm_id_priv->qp_type == IB_QPT_XRC_TGT) in cm_destroy_id() 1078 cm_req_set_qp_type(req_msg, param->qp_type); in cm_format_req() 1087 if (param->qp_type != IB_QPT_XRC_INI) { in cm_format_req() 1150 if (param->qp_type != IB_QPT_RC && param->qp_type != IB_QPT_UC && in cm_validate_req_param() 1151 param->qp_type != IB_QPT_XRC_INI) in cm_validate_req_param() 1216 cm_id_priv->qp_type = param->qp_type; in ib_send_cm_req() 1379 param->qp_type = cm_req_get_qp_type(req_msg); in cm_format_req_event() 1673 cm_id_priv->qp_type = cm_req_get_qp_type(req_msg); in cm_req_handler() 1703 if (cm_id_priv->qp_type != IB_QPT_XRC_TGT) { in cm_format_rep() [all …]
|
D | cma.c | 606 enum ib_qp_type qp_type) in rdma_create_id() argument 619 id_priv->id.qp_type = qp_type; in rdma_create_id() 688 if (id->qp_type == IB_QPT_UD) in rdma_create_qp() 823 if (id_priv->id.qp_type == IB_QPT_UD) { in cma_ib_init_qp_attr() 845 if (!id_priv->cm_id.ib || (id_priv->id.qp_type == IB_QPT_UD)) in rdma_init_qp_attr() 1614 listen_id->ps, ib_event->param.req_rcvd.qp_type); in cma_new_conn_id() 1721 (ib_event->param.req_rcvd.qp_type == id->qp_type)) || in cma_check_req_qp_type() 1723 (id->qp_type == IB_QPT_UD)) || in cma_check_req_qp_type() 1724 (!id->qp_type)); in cma_check_req_qp_type() 1789 (conn_id->id.qp_type != IB_QPT_UD)) in cma_req_handler() [all …]
|
D | uverbs_cmd.c | 1769 if (cmd->qp_type == IB_QPT_RAW_PACKET && !capable(CAP_NET_RAW)) in create_qp() 1780 if (cmd->qp_type == IB_QPT_XRC_TGT) { in create_qp() 1789 if (cmd->qp_type == IB_QPT_XRC_INI) { in create_qp() 1831 attr.qp_type = cmd->qp_type; in create_qp() 1861 if (cmd->qp_type == IB_QPT_XRC_TGT) in create_qp() 1871 if (cmd->qp_type != IB_QPT_XRC_TGT) { in create_qp() 1880 qp->qp_type = attr.qp_type; in create_qp() 2005 cmd_ex.qp_type = cmd.qp_type; in ib_uverbs_create_qp() 2106 attr.qp_type = cmd.qp_type; in ib_uverbs_open_qp() 2263 static int modify_qp_mask(enum ib_qp_type qp_type, int mask) in modify_qp_mask() argument [all …]
|
D | mad.c | 128 static int get_spl_qp_index(enum ib_qp_type qp_type) in get_spl_qp_index() argument 130 switch (qp_type) in get_spl_qp_index() 196 enum ib_qp_type qp_type, in ib_register_mad_agent() argument 217 qpn = get_spl_qp_index(qp_type); in ib_register_mad_agent() 221 qp_type); in ib_register_mad_agent() 288 if (qp_type == IB_QPT_SMI) { in ib_register_mad_agent() 483 enum ib_qp_type qp_type, in ib_register_mad_snoop() argument 500 qpn = get_spl_qp_index(qp_type); in ib_register_mad_snoop() 3099 enum ib_qp_type qp_type) in create_mad_qp() argument 3112 qp_init_attr.qp_type = qp_type; in create_mad_qp() [all …]
|
D | ucm.c | 210 ureq->qp_type = kreq->qp_type; in ib_ucm_event_req_get() 762 param.qp_type = cmd.qp_type; in ib_ucm_send_req()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 390 switch (qp_grp->ibqp.qp_type) { in usnic_ib_query_qp() 395 usnic_err("Unexpected qp_type %d\n", qp_grp->ibqp.qp_type); in usnic_ib_query_qp() 505 if (init_attr->qp_type != IB_QPT_UD) { in usnic_ib_create_qp() 507 us_ibdev->ib_dev.name, init_attr->qp_type); in usnic_ib_create_qp()
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 142 .qp_type = IB_QPT_UD in ipoib_transport_dev_init()
|
D | ipoib_cm.c | 260 .qp_type = IB_QPT_RC, in ipoib_cm_create_rx_qp() 1026 .qp_type = IB_QPT_RC, in ipoib_cm_create_tx_qp() 1062 req.qp_type = qp->qp_type; in ipoib_cm_send_req()
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_provider.c | 247 switch (init_attr->qp_type) { in c2_create_qp() 269 init_attr->qp_type); in c2_create_qp()
|
D | c2_qp.c | 433 qp->ibqp.qp_type = IB_QPT_RC; in c2_alloc_qp()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 525 switch (init_attr->qp_type) { in mthca_create_qp() 572 init_attr->qp_type, init_attr->sq_sig_type, in mthca_create_qp() 602 qp->ibqp.qp_num = init_attr->qp_type == IB_QPT_SMI ? 0 : 1; in mthca_create_qp()
|
D | mthca_qp.c | 651 if (ibqp->qp_type == IB_QPT_RC && in __mthca_modify_qp() 863 if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type, attr_mask, in mthca_modify_qp()
|
/linux-4.4.14/net/9p/ |
D | trans_rdma.c | 720 qp_attr.qp_type = IB_QPT_RC; in rdma_create_trans()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 737 u32 qp_type; in update_vport_qp_param() local 743 qp_type = (be32_to_cpu(qpc->flags) >> 16) & 0xff; in update_vport_qp_param() 757 if (qp_type == MLX4_QP_ST_UD || in update_vport_qp_param() 758 (qp_type == MLX4_QP_ST_MLX && mlx4_is_eth(dev, port))) { in update_vport_qp_param() 3107 u32 qp_type; in verify_qp_parameters() local 3115 qp_type = (be32_to_cpu(qp_ctx->flags) >> 16) & 0xff; in verify_qp_parameters() 3125 switch (qp_type) { in verify_qp_parameters()
|
/linux-4.4.14/net/rds/ |
D | iw_cm.c | 200 attr->qp_type = IB_QPT_RC; in rds_iw_init_qp_attrs()
|
D | ib_cm.c | 420 attr.qp_type = IB_QPT_RC; in rds_ib_setup_qp()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 526 init_attr->qp_type = IB_QPT_RC; in srp_create_ch_ib() 723 req->param.qp_type = ch->qp->qp_type; in srp_send_req()
|
/linux-4.4.14/net/sunrpc/xprtrdma/ |
D | verbs.c | 606 ep->rep_attr.qp_type = IB_QPT_RC; in rpcrdma_ep_create()
|
D | svc_rdma_transport.c | 971 qp_attr.qp_type = IB_QPT_RC; in svc_rdma_accept()
|
/linux-4.4.14/drivers/infiniband/ulp/iser/ |
D | iser_verbs.c | 499 init_attr.qp_type = IB_QPT_RC; in iser_create_ib_conn_res()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 931 if (attrs->qp_type != IB_QPT_RC) in iwch_create_qp()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 1118 switch (init_attr->qp_type) { in nes_create_qp() 1388 nes_debug(NES_DBG_QP, "Invalid QP type: %d\n", init_attr->qp_type); in nes_create_qp()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 1637 if (attrs->qp_type != IB_QPT_RC) in c4iw_create_qp()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 773 init_qp_attr->qp_type = IB_QPT_RC; in kiblnd_create_conn()
|
/linux-4.4.14/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 166 attr.qp_type = IB_QPT_RC; in isert_create_qp()
|
/linux-4.4.14/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 2049 qp_init->qp_type = IB_QPT_RC; in srpt_create_ch_ib()
|