Home
last modified time | relevance | path

Searched refs:qp_attr_mask (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dsecurity.c333 int qp_attr_mask) in get_new_pps() argument
342 if (qp_attr_mask & IB_QP_PORT) in get_new_pps()
347 if (qp_attr_mask & IB_QP_PKEY_INDEX) in get_new_pps()
352 if (((qp_attr_mask & IB_QP_PKEY_INDEX) && in get_new_pps()
353 (qp_attr_mask & IB_QP_PORT)) || in get_new_pps()
357 if (qp_attr_mask & IB_QP_ALT_PATH) { in get_new_pps()
573 int qp_attr_mask, in ib_security_modify_qp() argument
583 bool pps_change = ((qp_attr_mask & (IB_QP_PKEY_INDEX | IB_QP_PORT)) || in ib_security_modify_qp()
584 (qp_attr_mask & IB_QP_ALT_PATH)); in ib_security_modify_qp()
586 WARN_ONCE((qp_attr_mask & IB_QP_PORT && in ib_security_modify_qp()
[all …]
Dcore_priv.h230 int qp_attr_mask,
257 int qp_attr_mask, in ib_security_modify_qp() argument
262 qp_attr_mask, in ib_security_modify_qp()
Diwcm.c1110 int *qp_attr_mask) in iwcm_init_qp_init_attr() argument
1121 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS; in iwcm_init_qp_init_attr()
1136 int *qp_attr_mask) in iwcm_init_qp_rts_attr() argument
1147 *qp_attr_mask = 0; in iwcm_init_qp_rts_attr()
1160 int *qp_attr_mask) in iw_cm_init_qp_attr() argument
1170 qp_attr, qp_attr_mask); in iw_cm_init_qp_attr()
1174 qp_attr, qp_attr_mask); in iw_cm_init_qp_attr()
Dcma.c919 int qp_attr_mask, ret; in cma_init_ud_qp() local
922 ret = rdma_init_qp_attr(&id_priv->id, &qp_attr, &qp_attr_mask); in cma_init_ud_qp()
926 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask); in cma_init_ud_qp()
945 int qp_attr_mask, ret; in cma_init_conn_qp() local
948 ret = rdma_init_qp_attr(&id_priv->id, &qp_attr, &qp_attr_mask); in cma_init_conn_qp()
952 return ib_modify_qp(qp, &qp_attr, qp_attr_mask); in cma_init_conn_qp()
1012 int qp_attr_mask, ret; in cma_modify_qp_rtr() local
1022 ret = rdma_init_qp_attr(&id_priv->id, &qp_attr, &qp_attr_mask); in cma_modify_qp_rtr()
1026 ret = ib_modify_qp(id_priv->id.qp, &qp_attr, qp_attr_mask); in cma_modify_qp_rtr()
1031 ret = rdma_init_qp_attr(&id_priv->id, &qp_attr, &qp_attr_mask); in cma_modify_qp_rtr()
[all …]
Dcm.c4103 int *qp_attr_mask) in cm_init_qp_init_attr() argument
4119 *qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS | in cm_init_qp_init_attr()
4140 int *qp_attr_mask) in cm_init_qp_rtr_attr() argument
4154 *qp_attr_mask = IB_QP_STATE | IB_QP_AV | IB_QP_PATH_MTU | in cm_init_qp_rtr_attr()
4162 *qp_attr_mask |= IB_QP_MAX_DEST_RD_ATOMIC | in cm_init_qp_rtr_attr()
4169 *qp_attr_mask |= IB_QP_ALT_PATH; in cm_init_qp_rtr_attr()
4188 int *qp_attr_mask) in cm_init_qp_rts_attr() argument
4205 *qp_attr_mask = IB_QP_STATE | IB_QP_SQ_PSN; in cm_init_qp_rts_attr()
4210 *qp_attr_mask |= IB_QP_RETRY_CNT | IB_QP_RNR_RETRY | in cm_init_qp_rts_attr()
4217 *qp_attr_mask |= IB_QP_TIMEOUT; in cm_init_qp_rts_attr()
[all …]
Dverbs.c1855 int qp_attr_mask) in ib_modify_qp() argument
1857 return _ib_modify_qp(qp->real_qp, qp_attr, qp_attr_mask, NULL); in ib_modify_qp()
1863 int qp_attr_mask, in ib_query_qp() argument
1870 qp->device->ops.query_qp(qp->real_qp, qp_attr, qp_attr_mask, in ib_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_verbs.c272 int qp_attr_mask, in efa_query_qp() argument
285 if (qp_attr_mask & ~EFA_QUERY_QP_SUPP_MASK) { in efa_query_qp()
288 qp_attr_mask, EFA_QUERY_QP_SUPP_MASK); in efa_query_qp()
866 struct ib_qp_attr *qp_attr, int qp_attr_mask, in efa_modify_qp_validate() argument
877 if (qp_attr_mask & ~EFA_MODIFY_QP_SUPP_MASK) { in efa_modify_qp_validate()
880 qp_attr_mask, EFA_MODIFY_QP_SUPP_MASK); in efa_modify_qp_validate()
886 qp_attr_mask); in efa_modify_qp_validate()
889 qp_attr_mask); in efa_modify_qp_validate()
896 if ((qp_attr_mask & IB_QP_PORT) && qp_attr->port_num != 1) { in efa_modify_qp_validate()
901 if ((qp_attr_mask & IB_QP_PKEY_INDEX) && qp_attr->pkey_index) { in efa_modify_qp_validate()
[all …]
Defa.h126 int qp_attr_mask,
157 int qp_attr_mask, struct ib_udata *udata);
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c279 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()
993 int qp_attr_mask, ret; in ipoib_cm_rep_handler() local
1005 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_rep_handler()
1012 ret = ib_modify_qp(p->qp, &qp_attr, qp_attr_mask); in ipoib_cm_rep_handler()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1790 int qp_attr_mask) in bnxt_re_modify_shadow_qp() argument
1795 if (qp_attr_mask & IB_QP_STATE) { in bnxt_re_modify_shadow_qp()
1799 if (qp_attr_mask & IB_QP_PKEY_INDEX) { in bnxt_re_modify_shadow_qp()
1804 if (qp_attr_mask & IB_QP_QKEY) { in bnxt_re_modify_shadow_qp()
1809 if (qp_attr_mask & IB_QP_SQ_PSN) { in bnxt_re_modify_shadow_qp()
1821 int qp_attr_mask, struct ib_udata *udata) in bnxt_re_modify_qp() argument
1832 if (qp_attr_mask & IB_QP_STATE) { in bnxt_re_modify_qp()
1836 ib_qp->qp_type, qp_attr_mask)) { in bnxt_re_modify_qp()
1839 qp_attr_mask); in bnxt_re_modify_qp()
1868 if (qp_attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY) { in bnxt_re_modify_qp()
[all …]
Dib_verbs.h186 int qp_attr_mask, struct ib_udata *udata);
188 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h47 int qp_attr_mask,
/kernel/linux/linux-5.10/include/rdma/
Diw_cm.h217 int *qp_attr_mask);
Drdma_cm.h228 int *qp_attr_mask);
Dib_cm.h523 int *qp_attr_mask);
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h86 int qp_attr_mask, struct ib_qp_init_attr *);
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.h63 int qp_attr_mask, struct ib_qp_init_attr *);
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.h57 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
Dsiw_cm.c718 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dgsi.c375 int qp_attr_mask, in mlx5_ib_gsi_query_qp() argument
382 ret = ib_query_qp(gsi->rx_qp, qp_attr, qp_attr_mask, qp_init_attr); in mlx5_ib_gsi_query_qp()
Dqp.c4644 struct ib_qp_attr *qp_attr, int qp_attr_mask, in mlx5_ib_dct_query_qp() argument
4661 if (qp_attr_mask & ~supported_mask) in mlx5_ib_dct_query_qp()
4676 if (qp_attr_mask & IB_QP_STATE) in mlx5_ib_dct_query_qp()
4679 if (qp_attr_mask & IB_QP_ACCESS_FLAGS) { in mlx5_ib_dct_query_qp()
4689 if (qp_attr_mask & IB_QP_PORT) in mlx5_ib_dct_query_qp()
4691 if (qp_attr_mask & IB_QP_MIN_RNR_TIMER) in mlx5_ib_dct_query_qp()
4693 if (qp_attr_mask & IB_QP_AV) { in mlx5_ib_dct_query_qp()
4699 if (qp_attr_mask & IB_QP_PATH_MTU) in mlx5_ib_dct_query_qp()
4701 if (qp_attr_mask & IB_QP_PKEY_INDEX) in mlx5_ib_dct_query_qp()
4709 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr) in mlx5_ib_query_qp() argument
[all …]
Dmlx5_ib.h1155 int mlx5_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
1348 int qp_attr_mask,
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c60 enum ib_qp_attr_mask qp_attr_mask = in smc_ib_modify_qp_rtr() local
81 return ib_modify_qp(lnk->roce_qp, &qp_attr, qp_attr_mask); in smc_ib_modify_qp_rtr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h434 int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_dev.h519 int mthca_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,

12