/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | cong.c | 166 u32 var, u32 *attr_mask) in mlx5_ib_set_cc_param_mask_val() argument 170 *attr_mask |= MLX5_IB_RP_CLAMP_TGT_RATE_ATTR; in mlx5_ib_set_cc_param_mask_val() 175 *attr_mask |= MLX5_IB_RP_CLAMP_TGT_RATE_ATI_ATTR; in mlx5_ib_set_cc_param_mask_val() 180 *attr_mask |= MLX5_IB_RP_TIME_RESET_ATTR; in mlx5_ib_set_cc_param_mask_val() 185 *attr_mask |= MLX5_IB_RP_BYTE_RESET_ATTR; in mlx5_ib_set_cc_param_mask_val() 190 *attr_mask |= MLX5_IB_RP_THRESHOLD_ATTR; in mlx5_ib_set_cc_param_mask_val() 195 *attr_mask |= MLX5_IB_RP_AI_RATE_ATTR; in mlx5_ib_set_cc_param_mask_val() 200 *attr_mask |= MLX5_IB_RP_MAX_RATE_ATTR; in mlx5_ib_set_cc_param_mask_val() 205 *attr_mask |= MLX5_IB_RP_HAI_RATE_ATTR; in mlx5_ib_set_cc_param_mask_val() 210 *attr_mask |= MLX5_IB_RP_MIN_DEC_FAC_ATTR; in mlx5_ib_set_cc_param_mask_val() [all …]
|
D | qp.c | 3036 const struct ib_qp_attr *attr, int attr_mask, in set_qpc_atomic_flags() argument 3043 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) in set_qpc_atomic_flags() 3048 if (attr_mask & IB_QP_ACCESS_FLAGS) in set_qpc_atomic_flags() 3200 int attr_mask, u32 path_flags, in mlx5_set_path() argument 3209 if (attr_mask & IB_QP_PKEY_INDEX) in mlx5_set_path() 3234 (attr_mask & IB_QP_DEST_QPN)) in mlx5_set_path() 3267 if (attr_mask & IB_QP_TIMEOUT) in mlx5_set_path() 3683 int attr_mask, u8 init, in get_tx_affinity() argument 3701 else if ((attr_mask & IB_QP_AV) && attr->xmit_slave) in get_tx_affinity() 3745 const struct ib_qp_attr *attr, int attr_mask, in __mlx5_ib_modify_qp() argument [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 94 int attr_mask; in ipoib_init_qp() local 103 attr_mask = in ipoib_init_qp() 108 ret = ib_modify_qp(priv->qp, &qp_attr, attr_mask); in ipoib_init_qp() 116 attr_mask &= ~IB_QP_PORT; in ipoib_init_qp() 117 ret = ib_modify_qp(priv->qp, &qp_attr, attr_mask); in ipoib_init_qp() 125 attr_mask |= IB_QP_SQ_PSN; in ipoib_init_qp() 126 attr_mask &= ~IB_QP_PKEY_INDEX; in ipoib_init_qp() 127 ret = ib_modify_qp(priv->qp, &qp_attr, attr_mask); in ipoib_init_qp()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 300 int attr_mask) in store_attrs() argument 302 if (attr_mask & IB_QP_PKEY_INDEX) in store_attrs() 304 if (attr_mask & IB_QP_QKEY) in store_attrs() 306 if (attr_mask & IB_QP_SQ_PSN) in store_attrs() 329 int attr_mask) in get_hw_access_flags() argument 335 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) in get_hw_access_flags() 340 if (attr_mask & IB_QP_ACCESS_FLAGS) in get_hw_access_flags() 557 const struct ib_qp_attr *attr, int attr_mask, in __mthca_modify_qp() argument 584 if (!(attr_mask & IB_QP_PATH_MIG_STATE)) in __mthca_modify_qp() 605 else if (attr_mask & IB_QP_PATH_MTU) { in __mthca_modify_qp() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 52 int attr_mask; in flush_work_handle() local 55 attr_mask = IB_QP_STATE; in flush_work_handle() 59 ret = hns_roce_modify_qp(&hr_qp->ibqp, &attr, attr_mask, NULL); in flush_work_handle() 1079 struct ib_qp_attr *attr, int attr_mask) in check_mtu_validate() argument 1084 p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; in check_mtu_validate() 1100 int attr_mask) in hns_roce_check_qp_attr() argument 1106 if ((attr_mask & IB_QP_PORT) && in hns_roce_check_qp_attr() 1113 if (attr_mask & IB_QP_PKEY_INDEX) { in hns_roce_check_qp_attr() 1114 p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; in hns_roce_check_qp_attr() 1123 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC && in hns_roce_check_qp_attr() [all …]
|
D | hns_roce_hw_v2.c | 3760 const struct ib_qp_attr *attr, int attr_mask) in set_access_flags() argument 3765 dest_rd_atomic = (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) ? in set_access_flags() 3768 access_flags = (attr_mask & IB_QP_ACCESS_FLAGS) ? in set_access_flags() 3810 int attr_mask, in modify_qp_reset_to_init() argument 3872 const struct ib_qp_attr *attr, int attr_mask, in modify_qp_init_to_init() argument 3889 if (attr_mask & IB_QP_ACCESS_FLAGS) { in modify_qp_init_to_init() 3966 if (attr_mask & IB_QP_DEST_QPN) { in modify_qp_init_to_init() 4163 const struct ib_qp_attr *attr, int attr_mask, in modify_qp_init_to_rtr() argument 4204 if (attr_mask & IB_QP_ALT_PATH) { in modify_qp_init_to_rtr() 4206 attr_mask); in modify_qp_init_to_rtr() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1690 int attr_mask) in to_mlx4_access_flags() argument 1696 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) in to_mlx4_access_flags() 1701 if (attr_mask & IB_QP_ACCESS_FLAGS) in to_mlx4_access_flags() 1720 int attr_mask) in store_sqp_attrs() argument 1722 if (attr_mask & IB_QP_PKEY_INDEX) in store_sqp_attrs() 1724 if (attr_mask & IB_QP_QKEY) in store_sqp_attrs() 1726 if (attr_mask & IB_QP_SQ_PSN) in store_sqp_attrs() 2072 const struct ib_qp_attr *attr, int attr_mask, in __mlx4_ib_modify_qp() argument 2117 if (attr_mask & IB_QP_ALT_PATH && in __mlx4_ib_modify_qp() 2129 if (!(attr_mask & IB_QP_PATH_MIG_STATE)) in __mlx4_ib_modify_qp() [all …]
|
D | srq.c | 221 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in mlx4_ib_modify_srq() argument 228 if (attr_mask & IB_SRQ_MAX_WR) in mlx4_ib_modify_srq() 231 if (attr_mask & IB_SRQ_LIMIT) { in mlx4_ib_modify_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | qp.h | 59 int attr_mask, struct ib_udata *udata); 62 int attr_mask, struct ib_qp_init_attr *init_attr);
|
D | srq.c | 167 enum ib_srq_attr_mask attr_mask, in rvt_modify_srq() argument 175 if (attr_mask & IB_SRQ_MAX_WR) { in rvt_modify_srq() 183 ((attr_mask & IB_SRQ_LIMIT) ? in rvt_modify_srq() 262 if (attr_mask & IB_SRQ_LIMIT) in rvt_modify_srq() 297 } else if (attr_mask & IB_SRQ_LIMIT) { in rvt_modify_srq()
|
D | qp.c | 1461 int attr_mask, struct ib_udata *udata) in rvt_modify_qp() argument 1476 cur_state = attr_mask & IB_QP_CUR_STATE ? in rvt_modify_qp() 1478 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state; in rvt_modify_qp() 1482 attr_mask)) in rvt_modify_qp() 1486 rdi->driver_f.check_modify_qp(qp, attr, attr_mask, udata)) in rvt_modify_qp() 1489 if (attr_mask & IB_QP_AV) { in rvt_modify_qp() 1504 if (attr_mask & IB_QP_ALT_PATH) { in rvt_modify_qp() 1521 if (attr_mask & IB_QP_PKEY_INDEX) in rvt_modify_qp() 1525 if (attr_mask & IB_QP_MIN_RNR_TIMER) in rvt_modify_qp() 1529 if (attr_mask & IB_QP_PORT) in rvt_modify_qp() [all …]
|
D | srq.h | 56 enum ib_srq_attr_mask attr_mask,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_srq.c | 275 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in pvrdma_modify_srq() argument 284 if (!(attr_mask & IB_SRQ_LIMIT)) in pvrdma_modify_srq() 291 cmd->attr_mask = attr_mask; in pvrdma_modify_srq()
|
D | pvrdma_qp.c | 537 int attr_mask, struct ib_udata *udata) in pvrdma_modify_qp() argument 549 cur_state = (attr_mask & IB_QP_CUR_STATE) ? attr->cur_qp_state : in pvrdma_modify_qp() 551 next_state = (attr_mask & IB_QP_STATE) ? attr->qp_state : cur_state; in pvrdma_modify_qp() 554 attr_mask)) { in pvrdma_modify_qp() 559 if (attr_mask & IB_QP_PORT) { in pvrdma_modify_qp() 567 if (attr_mask & IB_QP_MIN_RNR_TIMER) { in pvrdma_modify_qp() 574 if (attr_mask & IB_QP_PKEY_INDEX) { in pvrdma_modify_qp() 581 if (attr_mask & IB_QP_QKEY) in pvrdma_modify_qp() 593 cmd->attr_mask = ib_qp_attr_mask_to_pvrdma(attr_mask); in pvrdma_modify_qp() 983 int attr_mask, struct ib_qp_init_attr *init_attr) in pvrdma_query_qp() argument [all …]
|
D | pvrdma_dev_api.h | 531 u32 attr_mask; member 599 u32 attr_mask; member 606 u32 attr_mask; member
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_cmd.c | 1655 ret = ib_query_qp(qp, attr, cmd.attr_mask, init_attr); in ib_uverbs_query_qp() 1761 if ((cmd->base.attr_mask & IB_QP_PORT) && in modify_qp() 1767 if ((cmd->base.attr_mask & IB_QP_AV)) { in modify_qp() 1773 if (cmd->base.attr_mask & IB_QP_STATE && in modify_qp() 1807 if (((cmd->base.attr_mask & (IB_QP_AV | IB_QP_PORT)) in modify_qp() 1813 if ((cmd->base.attr_mask & (IB_QP_AV | IB_QP_PORT)) in modify_qp() 1815 cmd->base.attr_mask |= IB_QP_PORT; in modify_qp() 1821 if ((cmd->base.attr_mask & IB_QP_ALT_PATH) && in modify_qp() 1829 if ((cmd->base.attr_mask & IB_QP_CUR_STATE && in modify_qp() 1831 (cmd->base.attr_mask & IB_QP_STATE && in modify_qp() [all …]
|
D | verbs.c | 1669 int attr_mask, struct ib_udata *udata) in _ib_modify_qp() argument 1671 u8 port = attr_mask & IB_QP_PORT ? attr->port_num : qp->port; in _ib_modify_qp() 1677 if (attr_mask & IB_QP_AV) { in _ib_modify_qp() 1708 if (attr_mask & IB_QP_ALT_PATH) { in _ib_modify_qp() 1734 if (attr_mask & IB_QP_RQ_PSN && attr->rq_psn & ~0xffffff) { in _ib_modify_qp() 1741 if (attr_mask & IB_QP_SQ_PSN && attr->sq_psn & ~0xffffff) { in _ib_modify_qp() 1753 if (!qp->counter && (attr_mask & IB_QP_PORT) && in _ib_modify_qp() 1754 ((attr_mask & IB_QP_STATE) && attr->qp_state == IB_QPS_INIT)) in _ib_modify_qp() 1757 ret = ib_security_modify_qp(qp, attr, attr_mask, udata); in _ib_modify_qp() 1761 if (attr_mask & IB_QP_PORT) in _ib_modify_qp() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | opfn.c | 242 void opfn_qp_init(struct rvt_qp *qp, struct ib_qp_attr *attr, int attr_mask) in opfn_qp_init() argument 248 if (attr_mask & IB_QP_RETRY_CNT) in opfn_qp_init() 255 if (attr_mask & IB_QP_TIMEOUT) in opfn_qp_init() 264 if (attr_mask & IB_QP_STATE && in opfn_qp_init()
|
D | qp.c | 203 int attr_mask, struct ib_udata *udata) in hfi1_check_modify_qp() argument 210 if (attr_mask & IB_QP_AV) { in hfi1_check_modify_qp() 223 if (attr_mask & IB_QP_ALT_PATH) { in hfi1_check_modify_qp() 265 int attr_mask, struct ib_udata *udata) in hfi1_modify_qp() argument 270 if (attr_mask & IB_QP_AV) { in hfi1_modify_qp() 277 if (attr_mask & IB_QP_PATH_MIG_STATE && in hfi1_modify_qp() 287 opfn_qp_init(qp, attr, attr_mask); in hfi1_modify_qp()
|
D | opfn.h | 82 void opfn_qp_init(struct rvt_qp *qp, struct ib_qp_attr *attr, int attr_mask);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 81 int attr_mask); 83 int attr_mask, struct ib_udata *udata);
|
D | ocrdma_hw.c | 2490 int attr_mask) in ocrdma_set_av_params() argument 2575 struct ib_qp_attr *attrs, int attr_mask) in ocrdma_set_qp_params() argument 2580 if (attr_mask & IB_QP_PKEY_INDEX) { in ocrdma_set_qp_params() 2585 if (attr_mask & IB_QP_QKEY) { in ocrdma_set_qp_params() 2590 if (attr_mask & IB_QP_AV) { in ocrdma_set_qp_params() 2591 status = ocrdma_set_av_params(qp, cmd, attrs, attr_mask); in ocrdma_set_qp_params() 2603 if ((attr_mask & IB_QP_EN_SQD_ASYNC_NOTIFY) && in ocrdma_set_qp_params() 2609 if (attr_mask & IB_QP_DEST_QPN) { in ocrdma_set_qp_params() 2614 if (attr_mask & IB_QP_PATH_MTU) { in ocrdma_set_qp_params() 2628 if (attr_mask & IB_QP_TIMEOUT) { in ocrdma_set_qp_params() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | verbs.h | 61 int attr_mask, struct ib_udata *udata); 69 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata);
|
D | verbs.c | 1132 int attr_mask, in get_gid_info_from_table() argument 1662 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in qedr_modify_srq() argument 1669 if (attr_mask & IB_SRQ_MAX_WR) { in qedr_modify_srq() 1672 attr_mask, srq); in qedr_modify_srq() 1676 if (attr_mask & IB_SRQ_LIMIT) { in qedr_modify_srq() 2469 int attr_mask, struct ib_udata *udata) in qedr_modify_qp() argument 2480 "modify qp: qp %p attr_mask=0x%x, state=%d", qp, attr_mask, in qedr_modify_qp() 2484 if (attr_mask & IB_QP_STATE) in qedr_modify_qp() 2491 ibqp->qp_type, attr_mask)) { in qedr_modify_qp() 2495 attr_mask, qp->qp_id, ibqp->qp_type, in qedr_modify_qp() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.h | 58 int attr_mask, struct ib_udata *udata);
|