Home
last modified time | relevance | path

Searched refs:attr_mask (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/infiniband/hw/mlx5/
A Dcong.c166 u32 var, u32 *attr_mask) in mlx5_ib_set_cc_param_mask_val() argument
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()
215 *attr_mask |= MLX5_IB_RP_MIN_RATE_ATTR; in mlx5_ib_set_cc_param_mask_val()
225 *attr_mask |= MLX5_IB_RP_DCE_TCP_G_ATTR; in mlx5_ib_set_cc_param_mask_val()
245 *attr_mask |= MLX5_IB_RP_GD_ATTR; in mlx5_ib_set_cc_param_mask_val()
255 *attr_mask |= MLX5_IB_NP_CNP_DSCP_ATTR; in mlx5_ib_set_cc_param_mask_val()
315 u32 attr_mask = 0; in mlx5_ib_set_cc_params() local
[all …]
A Dqp.c3497 if (attr_mask & IB_QP_TIMEOUT) in mlx5_set_path()
3924 int attr_mask, u8 init, in get_tx_affinity() argument
4115 if (attr_mask & IB_QP_PORT) in __mlx5_ib_modify_qp()
4118 if (attr_mask & IB_QP_AV) { in __mlx5_ib_modify_qp()
4160 if (attr_mask & IB_QP_SQ_PSN) in __mlx5_ib_modify_qp()
4176 if (attr_mask & IB_QP_RQ_PSN) in __mlx5_ib_modify_qp()
4179 if (attr_mask & IB_QP_QKEY) in __mlx5_ib_modify_qp()
4229 if (attr_mask & IB_QP_PORT) in __mlx5_ib_modify_qp()
4282 if (attr_mask & IB_QP_PORT) in __mlx5_ib_modify_qp()
4558 attr_mask); in mlx5_ib_modify_qp()
[all …]
/linux/drivers/infiniband/ulp/ipoib/
A Dipoib_verbs.c94 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()
/linux/drivers/infiniband/hw/mthca/
A Dmthca_qp.c300 int attr_mask) in store_attrs() argument
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
659 if (attr_mask & IB_QP_AV) { in __mthca_modify_qp()
733 if (attr_mask & IB_QP_SQ_PSN) in __mthca_modify_qp()
766 if (attr_mask & IB_QP_RQ_PSN) in __mthca_modify_qp()
779 if (attr_mask & IB_QP_QKEY) { in __mthca_modify_qp()
806 if (attr_mask & IB_QP_PORT) in __mthca_modify_qp()
883 attr_mask)) { in mthca_modify_qp()
[all …]
/linux/drivers/infiniband/hw/mlx4/
A Dqp.c1688 int attr_mask) in to_mlx4_access_flags() argument
1718 int attr_mask) in store_sqp_attrs() argument
1722 if (attr_mask & IB_QP_QKEY) in store_sqp_attrs()
1724 if (attr_mask & IB_QP_SQ_PSN) in store_sqp_attrs()
2200 if (attr_mask & IB_QP_PORT) { in __mlx4_ib_modify_qp()
2252 if (attr_mask & IB_QP_AV) { in __mlx4_ib_modify_qp()
2669 attr_mask)) { in _mlx4_ib_modify_qp()
2711 attr_mask &= ~IB_QP_PORT; in _mlx4_ib_modify_qp()
4171 int attr_mask; in _mlx4_ib_modify_wq() local
4187 attr_mask = IB_QP_PORT; in _mlx4_ib_modify_wq()
[all …]
A Dsrq.c225 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in mlx4_ib_modify_srq() argument
232 if (attr_mask & IB_SRQ_MAX_WR) in mlx4_ib_modify_srq()
235 if (attr_mask & IB_SRQ_LIMIT) { in mlx4_ib_modify_srq()
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_qp.c51 int attr_mask; in flush_work_handle() local
54 attr_mask = IB_QP_STATE; in flush_work_handle()
1227 struct ib_qp_attr *attr, int attr_mask) in check_mtu_validate() argument
1248 int attr_mask) in hns_roce_check_qp_attr() argument
1254 if ((attr_mask & IB_QP_PORT) && in hns_roce_check_qp_attr()
1261 if (attr_mask & IB_QP_PKEY_INDEX) { in hns_roce_check_qp_attr()
1271 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC && in hns_roce_check_qp_attr()
1279 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC && in hns_roce_check_qp_attr()
1287 if (attr_mask & IB_QP_PATH_MTU) in hns_roce_check_qp_attr()
1294 int attr_mask, struct ib_udata *udata) in hns_roce_modify_qp() argument
[all …]
A Dhns_roce_hw_v2.c4084 int attr_mask, in modify_qp_reset_to_init() argument
4359 attr_mask); in modify_qp_init_to_rtr()
4659 int attr_mask, in hns_roce_v2_set_path() argument
4779 int attr_mask, in hns_roce_v2_set_abs_fields() argument
4837 int attr_mask, in hns_roce_v2_set_opt_fields() argument
4846 if (attr_mask & IB_QP_AV) { in hns_roce_v2_set_opt_fields()
4877 if (attr_mask & IB_QP_SQ_PSN) { in hns_roce_v2_set_opt_fields()
4920 if (attr_mask & IB_QP_RQ_PSN) { in hns_roce_v2_set_opt_fields()
4928 if (attr_mask & IB_QP_QKEY) { in hns_roce_v2_set_opt_fields()
4939 int attr_mask) in hns_roce_v2_record_opt_fields() argument
[all …]
/linux/drivers/infiniband/sw/rdmavt/
A Dqp.c1429 attr_mask)) in rvt_modify_qp()
1436 if (attr_mask & IB_QP_AV) { in rvt_modify_qp()
1476 if (attr_mask & IB_QP_PORT) in rvt_modify_qp()
1483 if (attr_mask & IB_QP_DEST_QPN) in rvt_modify_qp()
1487 if (attr_mask & IB_QP_RETRY_CNT) in rvt_modify_qp()
1566 if (attr_mask & IB_QP_PORT) in rvt_modify_qp()
1569 if (attr_mask & IB_QP_DEST_QPN) in rvt_modify_qp()
1572 if (attr_mask & IB_QP_SQ_PSN) { in rvt_modify_qp()
1580 if (attr_mask & IB_QP_RQ_PSN) in rvt_modify_qp()
1586 if (attr_mask & IB_QP_AV) { in rvt_modify_qp()
[all …]
A Dsrq.c125 enum ib_srq_attr_mask attr_mask, in rvt_modify_srq() argument
133 if (attr_mask & IB_SRQ_MAX_WR) { in rvt_modify_srq()
141 ((attr_mask & IB_SRQ_LIMIT) ? in rvt_modify_srq()
220 if (attr_mask & IB_SRQ_LIMIT) in rvt_modify_srq()
255 } else if (attr_mask & IB_SRQ_LIMIT) { in rvt_modify_srq()
A Dqp.h16 int attr_mask, struct ib_udata *udata);
19 int attr_mask, struct ib_qp_init_attr *init_attr);
A Dsrq.h14 enum ib_srq_attr_mask attr_mask,
/linux/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_qp.c526 int attr_mask, struct ib_udata *udata) in pvrdma_modify_qp() argument
536 if (attr_mask & ~IB_QP_ATTR_STANDARD_BITS) in pvrdma_modify_qp()
541 cur_state = (attr_mask & IB_QP_CUR_STATE) ? attr->cur_qp_state : in pvrdma_modify_qp()
546 attr_mask)) { in pvrdma_modify_qp()
551 if (attr_mask & IB_QP_PORT) { in pvrdma_modify_qp()
559 if (attr_mask & IB_QP_MIN_RNR_TIMER) { in pvrdma_modify_qp()
566 if (attr_mask & IB_QP_PKEY_INDEX) { in pvrdma_modify_qp()
573 if (attr_mask & IB_QP_QKEY) in pvrdma_modify_qp()
585 cmd->attr_mask = ib_qp_attr_mask_to_pvrdma(attr_mask); in pvrdma_modify_qp()
975 int attr_mask, struct ib_qp_init_attr *init_attr) in pvrdma_query_qp() argument
[all …]
A Dpvrdma_srq.c275 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()
/linux/drivers/infiniband/core/
A Duverbs_cmd.c1821 cmd->base.attr_mask |= IB_QP_PORT; in modify_qp()
1843 if (cmd->base.attr_mask & IB_QP_STATE) in modify_qp()
1851 if (cmd->base.attr_mask & IB_QP_QKEY) in modify_qp()
1871 if (cmd->base.attr_mask & IB_QP_PORT) in modify_qp()
1887 if (cmd->base.attr_mask & IB_QP_AV) in modify_qp()
1897 cmd->base.attr_mask), in modify_qp()
2999 if (!cmd.attr_mask) in ib_uverbs_ex_modify_wq()
3009 if (cmd.attr_mask & IB_WQ_FLAGS) { in ib_uverbs_ex_modify_wq()
3023 if (cmd.attr_mask & IB_WQ_STATE) { in ib_uverbs_ex_modify_wq()
3655 if (!cmd.attr_mask || cmd.reserved) in ib_uverbs_ex_modify_cq()
[all …]
A Dverbs.c1759 int attr_mask, struct ib_udata *udata) in _ib_modify_qp() argument
1767 if (attr_mask & IB_QP_AV) { in _ib_modify_qp()
1798 if (attr_mask & IB_QP_ALT_PATH) { in _ib_modify_qp()
1843 if (!qp->counter && (attr_mask & IB_QP_PORT) && in _ib_modify_qp()
1847 ret = ib_security_modify_qp(qp, attr, attr_mask, udata); in _ib_modify_qp()
1851 if (attr_mask & IB_QP_PORT) in _ib_modify_qp()
1853 if (attr_mask & IB_QP_AV) in _ib_modify_qp()
1856 if (attr_mask & IB_QP_ALT_PATH) in _ib_modify_qp()
1861 if (attr_mask & IB_QP_ALT_PATH) in _ib_modify_qp()
1864 if (attr_mask & IB_QP_AV) { in _ib_modify_qp()
[all …]
/linux/arch/x86/kernel/cpu/sgx/
A Ddriver.c149 u64 attr_mask; in sgx_drv_init() local
167 attr_mask = (((u64)ebx) << 32) + (u64)eax; in sgx_drv_init()
168 sgx_attributes_reserved_mask = ~attr_mask | SGX_ATTR_RESERVED_MASK; in sgx_drv_init()
/linux/drivers/infiniband/hw/hfi1/
A Dopfn.c242 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()
A Dqp.c161 int attr_mask, struct ib_udata *udata) in hfi1_check_modify_qp() argument
168 if (attr_mask & IB_QP_AV) { in hfi1_check_modify_qp()
181 if (attr_mask & IB_QP_ALT_PATH) { in hfi1_check_modify_qp()
223 int attr_mask, struct ib_udata *udata) in hfi1_modify_qp() argument
228 if (attr_mask & IB_QP_AV) { in hfi1_modify_qp()
235 if (attr_mask & IB_QP_PATH_MIG_STATE && in hfi1_modify_qp()
245 opfn_qp_init(qp, attr, attr_mask); in hfi1_modify_qp()
/linux/drivers/infiniband/hw/ocrdma/
A Docrdma_verbs.h81 int attr_mask);
83 int attr_mask, struct ib_udata *udata);
A Docrdma_hw.c2490 int attr_mask) in ocrdma_set_av_params() argument
2585 if (attr_mask & IB_QP_QKEY) { in ocrdma_set_qp_params()
2590 if (attr_mask & IB_QP_AV) { 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()
2633 if (attr_mask & IB_QP_RETRY_CNT) { in ocrdma_set_qp_params()
2645 if (attr_mask & IB_QP_RNR_RETRY) { in ocrdma_set_qp_params()
2651 if (attr_mask & IB_QP_SQ_PSN) { in ocrdma_set_qp_params()
2655 if (attr_mask & IB_QP_RQ_PSN) { in ocrdma_set_qp_params()
[all …]
/linux/drivers/infiniband/hw/qedr/
A Dverbs.c1126 int attr_mask, in get_gid_info_from_table() argument
1685 attr_mask, srq); in qedr_modify_srq()
1689 if (attr_mask & IB_SRQ_LIMIT) { in qedr_modify_srq()
2472 if (attr_mask & IB_QP_STATE) in qedr_modify_qp()
2491 if (attr_mask & IB_QP_STATE) { in qedr_modify_qp()
2511 if (attr_mask & IB_QP_QKEY) in qedr_modify_qp()
2627 if (attr_mask & IB_QP_RQ_PSN) { in qedr_modify_qp()
2655 if (attr_mask & IB_QP_SQ_PSN) { in qedr_modify_qp()
2702 if (attr_mask & IB_QP_STATE) { in qedr_modify_qp()
2802 int attr_mask = 0; in qedr_destroy_qp() local
[all …]
A Dverbs.h61 int attr_mask, struct ib_udata *udata);
69 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata);
/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib_verbs.c552 int attr_mask, struct ib_udata *udata) in usnic_ib_modify_qp() argument
558 if (attr_mask & ~IB_QP_ATTR_STANDARD_BITS) in usnic_ib_modify_qp()
564 if ((attr_mask & IB_QP_PORT) && attr->port_num != 1) { in usnic_ib_modify_qp()
569 if (attr_mask & IB_QP_STATE) { in usnic_ib_modify_qp()
572 usnic_err("Unhandled request, attr_mask=0x%x\n", attr_mask); in usnic_ib_modify_qp()
/linux/drivers/infiniband/hw/irdma/
A Dverbs.c1128 if (attr_mask & IB_QP_DEST_QPN) in irdma_modify_qp_roce()
1138 if (attr_mask & IB_QP_QKEY) in irdma_modify_qp_roce()
1141 if (attr_mask & IB_QP_PATH_MTU) in irdma_modify_qp_roce()
1144 if (attr_mask & IB_QP_SQ_PSN) { in irdma_modify_qp_roce()
1151 if (attr_mask & IB_QP_RQ_PSN) in irdma_modify_qp_roce()
1154 if (attr_mask & IB_QP_RNR_RETRY) in irdma_modify_qp_roce()
1162 if (attr_mask & IB_QP_AV) { in irdma_modify_qp_roce()
1280 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1386 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp_roce()
1477 if (attr_mask & IB_QP_STATE) { in irdma_modify_qp()
[all …]

Completed in 104 milliseconds

123