| /linux/drivers/infiniband/core/ |
| H A D | cm_msgs.h | 38 enum ib_qp_type qp_type) in cm_req_set_qp_type() argument 40 switch (qp_type) { in cm_req_set_qp_type() 60 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 62 return (qp_type == IB_QPT_XRC_INI) ? in cm_rep_get_qpn()
|
| H A D | cma_trace.h | 189 __field(unsigned long, qp_type) 203 __entry->qp_type = id_priv->id.qp_type; 206 __entry->qp_type = 0; 218 rdma_show_qp_type(__entry->qp_type), __entry->send_wr,
|
| H A D | security.c | 580 bool special_qp = (real_qp->qp_type == IB_QPT_SMI || in ib_security_modify_qp() 581 real_qp->qp_type == IB_QPT_GSI || in ib_security_modify_qp() 582 real_qp->qp_type >= IB_QPT_RESERVED1); in ib_security_modify_qp() 687 enum ib_qp_type qp_type) in ib_mad_agent_security_setup() argument 700 if (qp_type != IB_QPT_SMI) in ib_mad_agent_security_setup() 726 if (agent->qp->qp_type == IB_QPT_SMI) { in ib_mad_agent_security_cleanup() 740 if (map->agent.qp->qp_type == IB_QPT_SMI) { in ib_mad_enforce_security()
|
| H A D | restrack.c | 203 if (qp->qp_type == IB_QPT_SMI || qp->qp_type == IB_QPT_GSI) in rdma_restrack_add() 209 if (qp->qp_type >= IB_QPT_DRIVER) in rdma_restrack_add()
|
| H A D | core_priv.h | 238 enum ib_qp_type qp_type); 293 enum ib_qp_type qp_type) in ib_mad_agent_security_setup() argument
|
| H A D | cma.c | 1009 enum ib_qp_type qp_type, const struct rdma_id_private *parent) in __rdma_create_id() argument 1021 id_priv->id.qp_type = qp_type; in __rdma_create_id() 1050 enum ib_qp_type qp_type, const char *caller) in __rdma_create_kernel_id() argument 1054 ret = __rdma_create_id(net, event_handler, context, ps, qp_type, NULL); in __rdma_create_kernel_id() 1066 enum ib_qp_type qp_type) in rdma_create_user_id() argument 1071 ps, qp_type, NULL); in rdma_create_user_id() 1139 if (id->qp_type == IB_QPT_UD) in rdma_create_qp() 1272 if (id_priv->id.qp_type == IB_QPT_UD) { in cma_ib_init_qp_attr() 1294 if (!id_priv->cm_id.ib || (id_priv->id.qp_type in rdma_init_qp_attr() [all...] |
| H A D | verbs.c | 1154 qp->qp_type = real_qp->qp_type; in __ib_open_qp() 1168 if (qp_open_attr->qp_type != IB_QPT_XRC_TGT) in ib_open_qp() 1234 qp->qp_type = attr->qp_type; in create_qp() 1299 if (attr->qp_type == IB_QPT_XRC_TGT) in ib_create_qp_user() 1303 if (attr->qp_type != IB_QPT_XRC_TGT || IS_ERR(qp)) in ib_create_qp_user() 1761 return (qp->qp_type == IB_QPT_UC || in is_qp_type_connected() 1762 qp->qp_type == IB_QPT_RC || in is_qp_type_connected() 1763 qp->qp_type in is_qp_type_connected() [all...] |
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | ud.c | 55 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback() 56 IB_QPT_UD : sqp->ibqp.qp_type; in ud_loopback() 57 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback() 58 IB_QPT_UD : qp->ibqp.qp_type; in ud_loopback() 198 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) { in ud_loopback() 199 if (sqp->ibqp.qp_type == IB_QPT_GSI || in ud_loopback() 200 sqp->ibqp.qp_type == IB_QPT_SMI) in ud_loopback() 210 if (wc.slid == 0 && sqp->ibqp.qp_type == IB_QPT_GSI) in ud_loopback() 242 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_bth_deth() 301 if (qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_make_ud_req_9B() [all …]
|
| H A D | qp.c | 270 switch (qp->ibqp.qp_type) { in hfi1_setup_wqe() 546 switch (qp->ibqp.qp_type) { in qp_to_sdma_engine() 568 switch (qp->ibqp.qp_type) { in qp_to_send_context() 620 qp_type_str[qp->ibqp.qp_type], in qp_iter_print() 766 if (qp->ibqp.qp_type == IB_QPT_RC) in notify_qp_reset() 889 (qp->ibqp.qp_type != IB_QPT_UC && in hfi1_qp_iter_cb() 890 qp->ibqp.qp_type != IB_QPT_RC) || in hfi1_qp_iter_cb()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_qp.c | 257 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) { in alloc_qpn() 396 if (hr_qp->ibqp.qp_type != IB_QPT_XRC_TGT) in hns_roce_qp_remove() 399 if (hr_qp->ibqp.qp_type != IB_QPT_XRC_INI && in hns_roce_qp_remove() 400 hr_qp->ibqp.qp_type != IB_QPT_XRC_TGT) in hns_roce_qp_remove() 427 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) in free_qpn() 529 if (!(hr_qp->ibqp.qp_type == IB_QPT_GSI || in update_inline_data() 530 hr_qp->ibqp.qp_type == IB_QPT_UD)) in update_inline_data() 575 bool is_ud_or_gsi = (hr_qp->ibqp.qp_type == IB_QPT_GSI || in set_ext_sge_param() 576 hr_qp->ibqp.qp_type == IB_QPT_UD); in set_ext_sge_param() 751 if (attr->qp_type == IB_QPT_XRC_TGT || !attr->cap.max_send_wr) in hns_roce_qp_has_sq() [all …]
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_qp.c | 113 switch (init->qp_type) { in rxe_qp_chk_init() 131 if (init->qp_type == IB_QPT_GSI) { in rxe_qp_chk_init() 139 if (init->qp_type == IB_QPT_GSI && port->qp_gsi_index) { in rxe_qp_chk_init() 209 switch (init->qp_type) { in rxe_qp_init_misc() 320 if (init->qp_type == IB_QPT_RC) { in rxe_qp_init_req() 481 init->qp_type = qp->ibqp.qp_type; in rxe_qp_to_init() 501 if (!(qp_type(qp) == IB_QPT_RC || qp_type(qp) == IB_QPT_UC)) in rxe_qp_chk_attr() 638 if (!ib_modify_qp_is_ok(cur_state, new_state, qp_type(qp), mask)) in __qp_chk_state() 867 if (qp_type(qp) == IB_QPT_RC && qp->retrans_timer.function && in rxe_qp_do_cleanup() 911 if (qp_type(qp) == IB_QPT_RC) in rxe_qp_do_cleanup()
|
| H A D | rxe_recv.c | 24 switch (qp_type(qp)) { in check_type_state() 88 if (qp_type(qp) == IB_QPT_UD || qp_type(qp) == IB_QPT_GSI) { in check_keys() 105 if (qp_type(qp) != IB_QPT_RC && qp_type(qp) != IB_QPT_UC) in check_addr()
|
| H A D | rxe_resp.c | 76 switch (qp_type(qp)) { in check_psn() 117 switch (qp_type(qp)) { in check_op_seq() 231 switch (qp_type(qp)) { in check_op_valid() 347 if ((qp_type(qp) == IB_QPT_GSI) || (qp_type(qp) == IB_QPT_UD)) { in rxe_resp_check_length() 360 if (pkt->mask & RXE_PAYLOAD_MASK && ((qp_type(qp) == IB_QPT_RC) || in rxe_resp_check_length() 361 (qp_type(qp) == IB_QPT_UC))) { in rxe_resp_check_length() 1005 if (qp_type(qp) == IB_QPT_UD || in execute() 1006 qp_type(qp) == IB_QPT_GSI) { in execute() 1063 else if (qp_type(qp) == IB_QPT_RC) in execute() 1177 if (qp_type(qp) == IB_QPT_RC) in do_complete() [all …]
|
| H A D | rxe_req.c | 358 switch (qp_type(qp)) { in next_opcode() 407 if ((qp_type(qp) == IB_QPT_RC) || (qp_type(qp) == IB_QPT_UC)) in get_mtu() 447 if (qp_type(qp) != IB_QPT_UD && qp_type(qp) != IB_QPT_UC) in init_req_packet() 546 if (qp_type(qp) == IB_QPT_RC) in update_wqe_state() 714 if (unlikely(qp_type(qp) == IB_QPT_RC && in rxe_requester() 745 if (qp_type(qp) == IB_QPT_UD) { in rxe_requester()
|
| H A D | rxe_av.c | 142 if (qp_type(pkt->qp) == IB_QPT_RC || qp_type(pkt->qp) == IB_QPT_UC) in rxe_get_av()
|
| /linux/drivers/infiniband/hw/vmw_pvrdma/ |
| H A D | pvrdma_qp.c | 214 if (init_attr->qp_type != IB_QPT_RC && in pvrdma_create_qp() 215 init_attr->qp_type != IB_QPT_UD && in pvrdma_create_qp() 216 init_attr->qp_type != IB_QPT_GSI) { in pvrdma_create_qp() 218 init_attr->qp_type); in pvrdma_create_qp() 231 switch (init_attr->qp_type) { in pvrdma_create_qp() 371 cmd->qp_type = ib_qp_type_to_pvrdma(init_attr->qp_type); in pvrdma_create_qp() 545 if (!ib_modify_qp_is_ok(cur_state, next_state, ibqp->qp_type, in pvrdma_modify_qp() 730 if (qp->ibqp.qp_type != IB_QPT_UD && in pvrdma_post_send() 731 qp->ibqp.qp_type != IB_QPT_RC && in pvrdma_post_send() 738 } else if (qp->ibqp.qp_type == IB_QPT_UD || in pvrdma_post_send() [all …]
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | qedr.h | 410 enum ib_qp_type qp_type; member 621 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_TGT) in qedr_qp_has_sq() 629 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_INI || in qedr_qp_has_rq() 630 qp->qp_type == IB_QPT_XRC_TGT || qedr_qp_has_srq(qp)) in qedr_qp_has_rq()
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_rdma.h | 95 enum qed_rdma_qp_type qp_type; member 165 if (qp->qp_type == QED_RDMA_QP_TYPE_XRC_TGT || in qed_rdma_is_xrc_qp() 166 qp->qp_type == QED_RDMA_QP_TYPE_XRC_INI) in qed_rdma_is_xrc_qp()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | qp.c | 86 static void get_cqs(enum ib_qp_type qp_type, 90 static int is_qp0(enum ib_qp_type qp_type) in is_qp0() argument 92 return qp_type == IB_QPT_SMI; in is_qp0() 95 static int is_sqp(enum ib_qp_type qp_type) in is_sqp() argument 97 return is_qp0(qp_type) || is_qp1(qp_type); in is_sqp() 498 switch (attr->qp_type) { in sq_overhead() 572 if (attr->qp_type == IB_QPT_RC) in get_send_sge() 577 else if (attr->qp_type == IB_QPT_XRC_INI) in get_send_sge() 665 if (attr->qp_type == IB_QPT_RAW_PACKET || in set_user_buf_size() 679 if (attr->qp_type == IB_QPT_XRC_INI || in qp_has_rq() [all …]
|
| /linux/drivers/infiniband/sw/rdmavt/ |
| H A D | trace_tx.h | 76 __entry->qpt = qp->ibqp.qp_type; 135 __entry->qpt = qp->ibqp.qp_type;
|
| /linux/include/linux/mlx5/ |
| H A D | mlx5_ifc_fpga.h | 41 u8 qp_type[0x2]; member 184 u8 qp_type[0x1]; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| H A D | conn.h | 91 enum mlx5_ifc_fpga_qp_type qp_type);
|
| /linux/include/rdma/ |
| H A D | ib_cm.h | 106 enum ib_qp_type qp_type; member 357 enum ib_qp_type qp_type; member
|
| H A D | rdma_counter.h | 19 int qp_type; member
|
| /linux/drivers/infiniband/hw/efa/ |
| H A D | efa_verbs.c | 390 qp_init_attr->qp_type = ibqp->qp_type; in efa_query_qp() 658 if (init_attr->qp_type != IB_QPT_DRIVER && in efa_qp_validate_attr() 659 init_attr->qp_type != IB_QPT_UD) { in efa_qp_validate_attr() 661 "Unsupported qp type %d\n", init_attr->qp_type); in efa_qp_validate_attr() 746 if (init_attr->qp_type == IB_QPT_UD) { in efa_create_qp() 747 create_qp_params.qp_type = EFA_ADMIN_QP_TYPE_UD; in efa_create_qp() 749 create_qp_params.qp_type = EFA_ADMIN_QP_TYPE_SRD; in efa_create_qp() 753 init_attr->qp_type, cmd.driver_qp_type); in efa_create_qp() 759 init_attr->qp_type, cm in efa_create_qp() [all...] |