/linux-master/drivers/infiniband/core/ |
H A D | cm_msgs.h | 38 enum ib_qp_type qp_type) 40 switch (qp_type) { 60 static inline __be32 cm_rep_get_qpn(struct cm_rep_msg *rep_msg, enum ib_qp_type qp_type) argument 62 return (qp_type == IB_QPT_XRC_INI) ? 37 cm_req_set_qp_type(struct cm_req_msg *req_msg, enum ib_qp_type qp_type) argument
|
H A D | uverbs_std_types_qp.c | 45 static int check_creation_flags(enum ib_qp_type qp_type, argument 50 if (!create_flags || qp_type == IB_QPT_DRIVER) 53 if (qp_type != IB_QPT_RAW_PACKET && qp_type != IB_QPT_UD) 58 qp_type != IB_QPT_RAW_PACKET) 108 ret = uverbs_get_const(&attr.qp_type, attrs, 113 switch (attr.qp_type) { 148 attr.qp_type == IB_QPT_XRC_INI)) 180 if (attr.qp_type != IB_QPT_XRC_INI) { 204 ret = check_creation_flags(attr.qp_type, att [all...] |
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; 214 TP_printk("cm.id=%u src=%pISpc dst=%pISpc tos=%u pd.id=%u qp_type=%s" 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 || 581 real_qp->qp_type == IB_QPT_GSI || 582 real_qp->qp_type >= IB_QPT_RESERVED1); 687 enum ib_qp_type qp_type) 700 if (qp_type != IB_QPT_SMI) 726 if (agent->qp->qp_type == IB_QPT_SMI) { 740 if (map->agent.qp->qp_type == IB_QPT_SMI) { 686 ib_mad_agent_security_setup(struct ib_mad_agent *agent, enum ib_qp_type qp_type) argument
|
H A D | counters.c | 88 param->qp_type = qp->qp_type; 232 match &= (param->qp_type == qp->qp_type); 454 if (qp->qp_type == IB_QPT_RAW_PACKET && !capable(CAP_NET_RAW))
|
/linux-master/include/rdma/ |
H A D | rdma_cm.h | 119 enum ib_qp_type qp_type; member in struct:rdma_cm_id 127 enum ib_qp_type qp_type, const char *caller); 131 enum ib_qp_type qp_type); 141 * @qp_type: type of queue pair associated with the id. 149 #define rdma_create_id(net, event_handler, context, ps, qp_type) \ 150 __rdma_create_kernel_id(net, event_handler, context, ps, qp_type, \
|
H A D | rdma_counter.h | 19 int qp_type; member in struct:auto_mode_param
|
H A D | ib_cm.h | 106 enum ib_qp_type qp_type; member in struct:ib_cm_req_event_param 357 enum ib_qp_type qp_type; member in struct:ib_cm_req_param
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | conn.h | 91 enum mlx5_ifc_fpga_qp_type qp_type);
|
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_loc.h | 121 static inline enum ib_qp_type qp_type(struct rxe_qp *qp) function 123 return qp->ibqp.qp_type; 133 if (qp->ibqp.qp_type == IB_QPT_RC || qp->ibqp.qp_type == IB_QPT_UC) 180 return rxe_wr_opcode_info[opcode].mask[qp->ibqp.qp_type];
|
H A D | rxe_recv.c | 24 switch (qp_type(qp)) { 88 if (qp_type(qp) == IB_QPT_UD || qp_type(qp) == IB_QPT_GSI) { 105 if (qp_type(qp) != IB_QPT_RC && qp_type(qp) != IB_QPT_UC)
|
H A D | rxe_av.c | 142 if (qp_type(pkt->qp) == IB_QPT_RC || qp_type(pkt->qp) == IB_QPT_UC)
|
H A D | rxe_qp.c | 65 switch (init->qp_type) { 83 if (init->qp_type == IB_QPT_GSI) { 91 if (init->qp_type == IB_QPT_GSI && port->qp_gsi_index) { 161 switch (init->qp_type) { 272 if (init->qp_type == IB_QPT_RC) { 433 init->qp_type = qp->ibqp.qp_type; 453 if (!(qp_type(qp) == IB_QPT_RC || qp_type(qp) == IB_QPT_UC)) 595 if (!ib_modify_qp_is_ok(cur_state, new_state, qp_type(q [all...] |
H A D | rxe_resp.c | 86 switch (qp_type(qp)) { 127 switch (qp_type(qp)) { 241 switch (qp_type(qp)) { 357 if (pkt->mask & RXE_PAYLOAD_MASK && ((qp_type(qp) == IB_QPT_RC) || 358 (qp_type(qp) == IB_QPT_UC))) { 987 if (qp_type(qp) == IB_QPT_UD || 988 qp_type(qp) == IB_QPT_GSI) { 1045 else if (qp_type(qp) == IB_QPT_RC) 1159 if (qp_type(qp) == IB_QPT_RC) 1218 if (qp_type(q [all...] |
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_rdma.h | 95 enum qed_rdma_qp_type qp_type; member in struct:qed_rdma_qp 165 if (qp->qp_type == QED_RDMA_QP_TYPE_XRC_TGT || 166 qp->qp_type == QED_RDMA_QP_TYPE_XRC_INI)
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | ud.c | 55 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? 56 IB_QPT_UD : sqp->ibqp.qp_type; 57 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? 58 IB_QPT_UD : qp->ibqp.qp_type; 198 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) { 199 if (sqp->ibqp.qp_type == IB_QPT_GSI || 200 sqp->ibqp.qp_type == IB_QPT_SMI) 210 if (wc.slid == 0 && sqp->ibqp.qp_type == IB_QPT_GSI) 242 if (qp->ibqp.qp_type [all...] |
H A D | qp.c | 270 switch (qp->ibqp.qp_type) { 546 switch (qp->ibqp.qp_type) { 568 switch (qp->ibqp.qp_type) { 620 qp_type_str[qp->ibqp.qp_type], 766 if (qp->ibqp.qp_type == IB_QPT_RC) 889 (qp->ibqp.qp_type != IB_QPT_UC && 890 qp->ibqp.qp_type != IB_QPT_RC) ||
|
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_ud.c | 73 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? 74 IB_QPT_UD : sqp->ibqp.qp_type; 75 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? 76 IB_QPT_UD : qp->ibqp.qp_type; 206 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? 346 if (qp->ibqp.qp_type == IB_QPT_SMI) 365 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? QIB_DEFAULT_P_KEY : 366 qib_get_pkey(ibp, qp->ibqp.qp_type == IB_QPT_GSI ? 566 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ?
|
H A D | qib_ruc.c | 271 if ((qp->ibqp.qp_type == IB_QPT_RC || 272 qp->ibqp.qp_type == IB_QPT_UC) && 279 if (qp->ibqp.qp_type == IB_QPT_RC) 281 else if (qp->ibqp.qp_type == IB_QPT_UC)
|
/linux-master/drivers/infiniband/hw/qedr/ |
H A D | qedr.h | 410 enum ib_qp_type qp_type; member in struct:qedr_qp 621 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_TGT) 629 if (qp->qp_type == IB_QPT_GSI || qp->qp_type == IB_QPT_XRC_INI || 630 qp->qp_type == IB_QPT_XRC_TGT || qedr_qp_has_srq(qp))
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 524 if (attr->qp_type == IB_QPT_XRC_INI || attr->qp_type == IB_QPT_XRC_TGT) 751 if (init_attr->qp_type != IB_QPT_RAW_PACKET) { 753 init_attr->qp_type); 1000 enum mlx4_ib_qp_type qp_type = (enum mlx4_ib_qp_type) init_attr->qp_type; local 1009 if (init_attr->qp_type == IB_QPT_GSI) 1010 qp_type = MLX4_IB_QPT_PROXY_GSI; 1014 qp_type = MLX4_IB_QPT_PROXY_SMI_OWNER; 1016 qp_type 2117 enum ib_qp_type qp_type; local [all...] |
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_qp.c | 235 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) { 374 if (hr_qp->ibqp.qp_type != IB_QPT_XRC_TGT) 377 if (hr_qp->ibqp.qp_type != IB_QPT_XRC_INI && 378 hr_qp->ibqp.qp_type != IB_QPT_XRC_TGT) 405 if (hr_qp->ibqp.qp_type == IB_QPT_GSI) 506 if (!(hr_qp->ibqp.qp_type == IB_QPT_GSI || 507 hr_qp->ibqp.qp_type == IB_QPT_UD)) 550 bool is_ud_or_gsi = (hr_qp->ibqp.qp_type == IB_QPT_GSI || 551 hr_qp->ibqp.qp_type == IB_QPT_UD); 728 if (attr->qp_type 1301 to_hr_qp_type(int qp_type) argument [all...] |
/linux-master/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_qp.c | 214 if (init_attr->qp_type != IB_QPT_RC && 215 init_attr->qp_type != IB_QPT_UD && 216 init_attr->qp_type != IB_QPT_GSI) { 218 init_attr->qp_type); 231 switch (init_attr->qp_type) { 371 cmd->qp_type = ib_qp_type_to_pvrdma(init_attr->qp_type); 545 if (!ib_modify_qp_is_ok(cur_state, next_state, ibqp->qp_type, 730 if (qp->ibqp.qp_type != IB_QPT_UD && 731 qp->ibqp.qp_type ! [all...] |
/linux-master/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) argument 92 return qp_type == IB_QPT_SMI; 95 static int is_sqp(enum ib_qp_type qp_type) argument 97 return is_qp0(qp_type) || is_qp1(qp_type); 498 switch (attr->qp_type) { 572 if (attr->qp_type == IB_QPT_RC) 577 else if (attr->qp_type == IB_QPT_XRC_INI) 665 if (attr->qp_type 1964 get_atomic_mode(struct mlx5_ib_dev *dev, enum ib_qp_type qp_type) argument 2623 get_cqs(enum ib_qp_type qp_type, struct ib_cq *ib_send_cq, struct ib_cq *ib_recv_cq, struct mlx5_ib_cq **send_cq, struct mlx5_ib_cq **recv_cq) argument 2976 enum ib_qp_type qp_type = qp->type; local 4620 validate_rd_atomic(struct mlx5_ib_dev *dev, struct ib_qp_attr *attr, int attr_mask, enum ib_qp_type qp_type) argument 4661 enum ib_qp_type qp_type; local [all...] |
/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | trace_tx.h | 76 __entry->qpt = qp->ibqp.qp_type; 135 __entry->qpt = qp->ibqp.qp_type;
|