/drivers/infiniband/core/ |
D | security.c | 333 int qp_attr_mask) in get_new_pps() argument 342 if (qp_attr_mask & (IB_QP_PKEY_INDEX | IB_QP_PORT)) { in get_new_pps() 347 new_pps->main.port_num = (qp_attr_mask & IB_QP_PORT) ? in get_new_pps() 352 (qp_attr_mask & IB_QP_PKEY_INDEX) ? in get_new_pps() 364 if (qp_attr_mask & IB_QP_ALT_PATH) { in get_new_pps() 580 int qp_attr_mask, in ib_security_modify_qp() argument 590 bool pps_change = ((qp_attr_mask & (IB_QP_PKEY_INDEX | IB_QP_PORT)) || in ib_security_modify_qp() 591 (qp_attr_mask & IB_QP_ALT_PATH)); in ib_security_modify_qp() 593 WARN_ONCE((qp_attr_mask & IB_QP_PORT && in ib_security_modify_qp() 609 qp_attr_mask); in ib_security_modify_qp() [all …]
|
D | iwcm.c | 1108 int *qp_attr_mask) in iwcm_init_qp_init_attr() argument 1119 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in iwcm_init_qp_init_attr() 1134 int *qp_attr_mask) in iwcm_init_qp_rts_attr() argument 1145 *qp_attr_mask = 0; in iwcm_init_qp_rts_attr() 1158 int *qp_attr_mask) in iw_cm_init_qp_attr() argument 1168 qp_attr, qp_attr_mask); in iw_cm_init_qp_attr() 1172 qp_attr, qp_attr_mask); in iw_cm_init_qp_attr()
|
D | core_priv.h | 228 int qp_attr_mask, 255 int qp_attr_mask, in ib_security_modify_qp() argument 260 qp_attr_mask, in ib_security_modify_qp()
|
D | cma.c | 914 int qp_attr_mask, ret; in cma_init_ud_qp() local 917 ret = rdma_init_qp_attr(&id_priv->id, &qp_attr, &qp_attr_mask); in cma_init_ud_qp() 921 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask); in cma_init_ud_qp() 940 int qp_attr_mask, ret; in cma_init_conn_qp() local 943 ret = rdma_init_qp_attr(&id_priv->id, &qp_attr, &qp_attr_mask); in cma_init_conn_qp() 947 return ib_modify_qp(qp, &qp_attr, qp_attr_mask); in cma_init_conn_qp() 999 int qp_attr_mask, ret; in cma_modify_qp_rtr() local 1009 ret = rdma_init_qp_attr(&id_priv->id, &qp_attr, &qp_attr_mask); in cma_modify_qp_rtr() 1013 ret = ib_modify_qp(id_priv->id.qp, &qp_attr, qp_attr_mask); in cma_modify_qp_rtr() 1018 ret = rdma_init_qp_attr(&id_priv->id, &qp_attr, &qp_attr_mask); in cma_modify_qp_rtr() [all …]
|
D | cm.c | 4079 int *qp_attr_mask) in cm_init_qp_init_attr() argument 4095 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS | in cm_init_qp_init_attr() 4118 int *qp_attr_mask) in cm_init_qp_rtr_attr() argument 4132 *qp_attr_mask = IB_QP_STATE | IB_QP_AV | IB_QP_PATH_MTU | in cm_init_qp_rtr_attr() 4140 *qp_attr_mask |= IB_QP_MAX_DEST_RD_ATOMIC | in cm_init_qp_rtr_attr() 4147 *qp_attr_mask |= IB_QP_ALT_PATH; in cm_init_qp_rtr_attr() 4168 int *qp_attr_mask) in cm_init_qp_rts_attr() argument 4185 *qp_attr_mask = IB_QP_STATE | IB_QP_SQ_PSN; in cm_init_qp_rts_attr() 4190 *qp_attr_mask |= IB_QP_RETRY_CNT | IB_QP_RNR_RETRY | in cm_init_qp_rts_attr() 4197 *qp_attr_mask |= IB_QP_TIMEOUT; in cm_init_qp_rts_attr() [all …]
|
D | verbs.c | 1796 int qp_attr_mask) in ib_modify_qp() argument 1798 return _ib_modify_qp(qp->real_qp, qp_attr, qp_attr_mask, NULL); in ib_modify_qp() 1804 int qp_attr_mask, in ib_query_qp() argument 1811 qp->device->ops.query_qp(qp->real_qp, qp_attr, qp_attr_mask, in ib_query_qp()
|
D | ucma.c | 1187 resp.qp_attr_mask = 0; in ucma_init_qp_attr() 1190 ret = rdma_init_qp_attr(ctx->cm_id, &qp_attr, &resp.qp_attr_mask); in ucma_init_qp_attr()
|
/drivers/infiniband/hw/efa/ |
D | efa_verbs.c | 350 int qp_attr_mask, in efa_query_qp() argument 363 if (qp_attr_mask & ~EFA_QUERY_QP_SUPP_MASK) { in efa_query_qp() 366 qp_attr_mask, EFA_QUERY_QP_SUPP_MASK); in efa_query_qp() 787 struct ib_qp_attr *qp_attr, int qp_attr_mask, in efa_modify_qp_validate() argument 795 if (qp_attr_mask & ~EFA_MODIFY_QP_SUPP_MASK) { in efa_modify_qp_validate() 798 qp_attr_mask, EFA_MODIFY_QP_SUPP_MASK); in efa_modify_qp_validate() 803 qp_attr_mask)) { in efa_modify_qp_validate() 808 if ((qp_attr_mask & IB_QP_PORT) && qp_attr->port_num != 1) { in efa_modify_qp_validate() 813 if ((qp_attr_mask & IB_QP_PKEY_INDEX) && qp_attr->pkey_index) { in efa_modify_qp_validate() 822 int qp_attr_mask, struct ib_udata *udata) in efa_modify_qp() argument [all …]
|
D | efa.h | 125 int qp_attr_mask, 156 int qp_attr_mask, struct ib_udata *udata);
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 279 int qp_attr_mask, ret; in ipoib_cm_modify_rx_qp() local 282 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_modify_rx_qp() 287 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask); in ipoib_cm_modify_rx_qp() 293 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_modify_rx_qp() 299 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask); in ipoib_cm_modify_rx_qp() 314 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_modify_rx_qp() 319 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask); in ipoib_cm_modify_rx_qp() 991 int qp_attr_mask, ret; in ipoib_cm_rep_handler() local 1003 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_rep_handler() 1010 ret = ib_modify_qp(p->qp, &qp_attr, qp_attr_mask); in ipoib_cm_rep_handler() [all …]
|
/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 1504 int qp_attr_mask) in bnxt_re_modify_shadow_qp() argument 1509 if (qp_attr_mask & IB_QP_STATE) { in bnxt_re_modify_shadow_qp() 1513 if (qp_attr_mask & IB_QP_PKEY_INDEX) { in bnxt_re_modify_shadow_qp() 1518 if (qp_attr_mask & IB_QP_QKEY) { in bnxt_re_modify_shadow_qp() 1523 if (qp_attr_mask & IB_QP_SQ_PSN) { in bnxt_re_modify_shadow_qp() 1536 int qp_attr_mask, struct ib_udata *udata) in bnxt_re_modify_qp() argument 1547 if (qp_attr_mask & IB_QP_STATE) { in bnxt_re_modify_qp() 1551 ib_qp->qp_type, qp_attr_mask)) { in bnxt_re_modify_qp() 1554 qp_attr_mask); in bnxt_re_modify_qp() 1585 if (qp_attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY) { in bnxt_re_modify_qp() [all …]
|
D | ib_verbs.h | 185 int qp_attr_mask, struct ib_udata *udata); 187 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.h | 47 int qp_attr_mask,
|
D | usnic_ib_verbs.c | 385 int qp_attr_mask, in usnic_ib_query_qp() argument
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 88 int qp_attr_mask, struct ib_qp_init_attr *);
|
/drivers/infiniband/hw/qedr/ |
D | verbs.h | 63 int qp_attr_mask, struct ib_qp_init_attr *);
|
/drivers/infiniband/sw/siw/ |
D | siw_verbs.h | 58 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
|
D | siw_cm.c | 718 enum siw_qp_attr_mask qp_attr_mask; in siw_proc_mpareply() local 867 qp_attr_mask = SIW_QP_ATTR_STATE | SIW_QP_ATTR_LLP_HANDLE | in siw_proc_mpareply() 877 rv = siw_qp_modify(qp, &qp_attrs, qp_attr_mask); in siw_proc_mpareply()
|
/drivers/infiniband/hw/mlx5/ |
D | gsi.c | 399 int qp_attr_mask, in mlx5_ib_gsi_query_qp() argument 406 ret = ib_query_qp(gsi->rx_qp, qp_attr, qp_attr_mask, qp_init_attr); in mlx5_ib_gsi_query_qp()
|
D | qp.c | 5693 struct ib_qp_attr *qp_attr, int qp_attr_mask, in mlx5_ib_dct_query_qp() argument 5710 if (qp_attr_mask & ~supported_mask) in mlx5_ib_dct_query_qp() 5725 if (qp_attr_mask & IB_QP_STATE) in mlx5_ib_dct_query_qp() 5728 if (qp_attr_mask & IB_QP_ACCESS_FLAGS) { in mlx5_ib_dct_query_qp() 5738 if (qp_attr_mask & IB_QP_PORT) in mlx5_ib_dct_query_qp() 5740 if (qp_attr_mask & IB_QP_MIN_RNR_TIMER) in mlx5_ib_dct_query_qp() 5742 if (qp_attr_mask & IB_QP_AV) { in mlx5_ib_dct_query_qp() 5748 if (qp_attr_mask & IB_QP_PATH_MTU) in mlx5_ib_dct_query_qp() 5750 if (qp_attr_mask & IB_QP_PKEY_INDEX) in mlx5_ib_dct_query_qp() 5758 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_query_qp() argument [all …]
|
D | mlx5_ib.h | 1124 int mlx5_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask, 1319 int qp_attr_mask,
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.h | 434 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
|
/drivers/infiniband/hw/mthca/ |
D | mthca_dev.h | 530 int mthca_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v1.c | 3385 int qp_attr_mask, in hns_roce_v1_q_sqp() argument 3455 int qp_attr_mask, in hns_roce_v1_q_qp() argument 3597 int qp_attr_mask, in hns_roce_v1_query_qp() argument 3603 hns_roce_v1_q_sqp(ibqp, qp_attr, qp_attr_mask, qp_init_attr) : in hns_roce_v1_query_qp() 3604 hns_roce_v1_q_qp(ibqp, qp_attr, qp_attr_mask, qp_init_attr); in hns_roce_v1_query_qp()
|
/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 779 int mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
|