Searched refs:attr_mask (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cong.c157 u64 var, u32 *attr_mask)
162 *attr_mask |= MLX5_IB_RP_CLAMP_TGT_RATE_ATTR;
167 *attr_mask |= MLX5_IB_RP_CLAMP_TGT_RATE_ATI_ATTR;
172 *attr_mask |= MLX5_IB_RP_TIME_RESET_ATTR;
177 *attr_mask |= MLX5_IB_RP_BYTE_RESET_ATTR;
182 *attr_mask |= MLX5_IB_RP_THRESHOLD_ATTR;
187 *attr_mask |= MLX5_IB_RP_AI_RATE_ATTR;
192 *attr_mask |= MLX5_IB_RP_HAI_RATE_ATTR;
197 *attr_mask |= MLX5_IB_RP_MIN_DEC_FAC_ATTR;
202 *attr_mask |
156 mlx5_ib_set_cc_param_mask_val(void *field, u32 index, u64 var, u32 *attr_mask) argument
289 u32 attr_mask = 0; local
[all...]
H A Dmlx5_ib_qp.c2116 int attr_mask)
2122 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
2127 if (attr_mask & IB_QP_ACCESS_FLAGS)
2219 struct mlx5_qp_path *path, u8 port, int attr_mask,
2227 if (attr_mask & IB_QP_PKEY_INDEX)
2280 if (attr_mask & IB_QP_TIMEOUT)
2563 const struct ib_qp_attr *attr, int attr_mask,
2629 if (!(attr_mask & IB_QP_PATH_MIG_STATE)) {
2650 } else if (attr_mask & IB_QP_PATH_MTU) {
2661 if (attr_mask
2115 to_mlx5_access_flags(struct mlx5_ib_qp *qp, const struct ib_qp_attr *attr, int attr_mask) argument
2217 mlx5_set_path(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, const struct ib_ah_attr *ah, struct mlx5_qp_path *path, u8 port, int attr_mask, u32 path_flags, const struct ib_qp_attr *attr, bool alt) argument
2562 __mlx5_ib_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state) argument
2842 mlx5_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
[all...]
H A Dmlx5_ib_srq.c349 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata)
356 if (attr_mask & IB_SRQ_MAX_WR)
359 if (attr_mask & IB_SRQ_LIMIT) {
348 mlx5_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) argument
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c81 int attr_mask; local
90 attr_mask =
96 ret = ib_modify_qp(priv->qp, &qp_attr, attr_mask);
104 attr_mask &= ~IB_QP_PORT;
105 ret = ib_modify_qp(priv->qp, &qp_attr, attr_mask);
113 attr_mask |= IB_QP_SQ_PSN;
114 attr_mask &= ~IB_QP_PKEY_INDEX;
115 ret = ib_modify_qp(priv->qp, &qp_attr, attr_mask);
/freebsd-11-stable/sys/pc98/cbus/
H A Dscterm-sck.c82 int attr_mask; /* current logical attr mask */ member in struct:__anon8382
327 tcp->attr_mask = NORMAL_ATTR;
473 tcp->attr_mask = NORMAL_ATTR;
641 tcp->attr_mask = NORMAL_ATTR;
649 tcp->attr_mask = NORMAL_ATTR;
654 tcp->attr_mask |= BOLD_ATTR;
658 tcp->attr_mask |= UNDERLINE_ATTR;
662 tcp->attr_mask |= BLINK_ATTR;
666 tcp->attr_mask |= REVERSE_ATTR;
670 tcp->attr_mask
[all...]
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_qp.c299 int attr_mask)
301 if (attr_mask & IB_QP_PKEY_INDEX)
303 if (attr_mask & IB_QP_QKEY)
305 if (attr_mask & IB_QP_SQ_PSN)
328 int attr_mask)
334 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
339 if (attr_mask & IB_QP_ACCESS_FLAGS)
544 const struct ib_qp_attr *attr, int attr_mask,
567 if (!(attr_mask & IB_QP_PATH_MIG_STATE))
588 else if (attr_mask
298 store_attrs(struct mthca_sqp *sqp, const struct ib_qp_attr *attr, int attr_mask) argument
327 get_hw_access_flags(struct mthca_qp *qp, const struct ib_qp_attr *attr, int attr_mask) argument
543 __mthca_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state) argument
796 store_attrs(to_msqp(qp), attr, attr_mask); local
842 mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
[all...]
H A Dmthca_srq.c365 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata)
372 if (attr_mask & IB_SRQ_MAX_WR)
375 if (attr_mask & IB_SRQ_LIMIT) {
364 mthca_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) argument
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dcmd.c766 cmd->attr_mask = srq_attr_mask;
790 cmd->attr_mask = srq_attr_mask;
1146 int attr_mask,
1156 if (attr_mask & ~((IBV_QP_DEST_QPN << 1) - 1))
1161 cmd->attr_mask = attr_mask;
1235 int attr_mask,
1239 cmd->attr_mask = attr_mask;
1241 if (attr_mask
1145 ibv_cmd_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr, struct ibv_query_qp *cmd, size_t cmd_size) argument
1234 copy_modify_qp_fields(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_modify_qp_common *cmd) argument
1318 ibv_cmd_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_modify_qp *cmd, size_t cmd_size) argument
1339 ibv_cmd_modify_qp_ex(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_modify_qp_ex *cmd, size_t cmd_core_size, size_t cmd_size, struct ibv_modify_qp_resp_ex *resp, size_t resp_core_size, size_t resp_size) argument
[all...]
H A Ddriver.h249 int attr_mask,
253 int attr_mask,
256 int attr_mask, struct ibv_modify_qp_ex *cmd,
H A Dcompat-1_0.c198 int attr_mask,
201 int attr_mask);
276 int attr_mask, struct ibv_qp_init_attr_1_0 *init_attr);
278 int attr_mask);
911 int attr_mask,
917 ret = ibv_query_qp(qp->real_qp, attr, attr_mask, &real_init_attr);
934 int attr_mask)
936 return ibv_modify_qp(qp->real_qp, attr, attr_mask);
910 __ibv_query_qp_1_0(struct ibv_qp_1_0 *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr_1_0 *init_attr) argument
933 __ibv_modify_qp_1_0(struct ibv_qp_1_0 *qp, struct ibv_qp_attr *attr, int attr_mask) argument
H A Dverbs.c91 int __ibv_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask,
93 int __ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask);
589 int attr_mask,
594 ret = qp->context->ops.query_qp(qp, attr, attr_mask, init_attr);
598 if (attr_mask & IBV_QP_STATE)
606 int attr_mask)
610 ret = qp->context->ops.modify_qp(qp, attr, attr_mask);
614 if (attr_mask & IBV_QP_STATE)
588 __ibv_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr) argument
605 __ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask) argument
H A Dkern-abi.h712 __u32 attr_mask; member in struct:ibv_query_qp
754 __u32 attr_mask; member in struct:ibv_modify_qp_common
1137 __u32 attr_mask; member in struct:ibv_modify_srq
1244 __u32 attr_mask; member in struct:ibv_modify_srq_v3
1308 __u32 attr_mask; member in struct:ibv_modify_wq
/freebsd-11-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_ts.c146 VAPI_hca_attr_mask_t attr_mask; local
151 memset(&attr_mask, 0, sizeof(attr_mask));
154 attr_mask = HCA_ATTR_IS_SM;
158 &attr_mask);
871 VAPI_hca_attr_mask_t attr_mask; local
876 memset(&attr_mask, 0, sizeof(attr_mask));
879 attr_mask = HCA_ATTR_IS_SM;
883 &attr_mask);
[all...]
H A Dosm_vendor_mtl.c182 VAPI_hca_attr_mask_t attr_mask; local
187 memset(&attr_mask, 0, sizeof(attr_mask));
190 attr_mask = HCA_ATTR_IS_SM;
194 &attr_mask);
1070 VAPI_hca_attr_mask_t attr_mask; local
1075 memset(&attr_mask, 0, sizeof(attr_mask));
1078 attr_mask = HCA_ATTR_IS_SM;
1082 &attr_mask);
[all...]
H A Dosm_vendor_mlx.c590 VAPI_hca_attr_mask_t attr_mask; local
595 memset(&attr_mask, 0, sizeof(attr_mask));
598 attr_mask = HCA_ATTR_IS_SM;
602 &attr_mask);
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_qp.c1344 int attr_mask)
1350 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
1355 if (attr_mask & IB_QP_ACCESS_FLAGS)
1374 int attr_mask)
1376 if (attr_mask & IB_QP_PKEY_INDEX)
1378 if (attr_mask & IB_QP_QKEY)
1380 if (attr_mask & IB_QP_SQ_PSN)
1620 const struct ib_qp_attr *attr, int attr_mask,
1635 if (attr_mask & IB_QP_ALT_PATH &&
1647 if (!(attr_mask
1343 to_mlx4_access_flags(struct mlx4_ib_qp *qp, const struct ib_qp_attr *attr, int attr_mask) argument
1373 store_sqp_attrs(struct mlx4_ib_sqp *sqp, const struct ib_qp_attr *attr, int attr_mask) argument
1619 __mlx4_ib_modify_qp(struct ib_qp *ibqp, const struct ib_qp_attr *attr, int attr_mask, enum ib_qp_state cur_state, enum ib_qp_state new_state) argument
2024 store_sqp_attrs(to_msqp(qp), attr, attr_mask); local
2159 _mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
2263 mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument
[all...]
H A Dmlx4_ib_srq.c234 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata)
241 if (attr_mask & IB_SRQ_MAX_WR)
244 if (attr_mask & IB_SRQ_LIMIT) {
233 mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) argument
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dfilestat.c186 apr_fileattrs_t attr_mask,
193 if (!(attr_mask & (APR_FILE_ATTR_READONLY
202 if (attr_mask & APR_FILE_ATTR_READONLY)
219 if (attr_mask & APR_FILE_ATTR_EXECUTABLE)
/freebsd-11-stable/sys/dev/syscons/daemon/
H A Ddaemon_saver.c53 static int attr_mask; variable
55 #define ATTR(attr) (((attr) & attr_mask) << 8)
377 attr_mask = ~FG_UNDERLINE;
380 attr_mask = ~0;
/freebsd-11-stable/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h209 int attr_mask);
213 int attr_mask,
H A Dverbs.c287 int attr_mask)
581 int attr_mask)
587 PDBG("%s enter qp %p new state %d\n", __func__, ibqp, attr_mask & IBV_QP_STATE ? attr->qp_state : -1);
591 ret = ibv_cmd_modify_qp(ibqp, attr, attr_mask, &cmd, sizeof cmd);
592 if (!ret && (attr_mask & IBV_QP_STATE) && attr->qp_state == IBV_QPS_RESET)
633 int attr_mask, struct ibv_qp_init_attr *init_attr)
642 ret = ibv_cmd_query_qp(ibqp, attr, attr_mask, init_attr, &cmd, sizeof cmd);
286 c4iw_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *attr, int attr_mask) argument
580 c4iw_modify_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, int attr_mask) argument
632 c4iw_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr) argument
/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dverbs.c712 int attr_mask)
716 return ibv_cmd_modify_srq(srq, attr, attr_mask, &cmd, sizeof cmd);
957 int attr_mask,
964 ret = ibv_cmd_query_qp(ibqp, attr, attr_mask, init_attr, &cmd, sizeof cmd);
978 int attr_mask)
987 if (attr_mask & IBV_QP_PORT) {
1018 attr_mask & IBV_QP_STATE &&
1023 ret = ibv_cmd_modify_qp(qp, attr, attr_mask, &cmd, sizeof cmd);
1026 (attr_mask & IBV_QP_STATE) &&
710 mlx4_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *attr, int attr_mask) argument
956 mlx4_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr) argument
977 mlx4_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask) argument
/freebsd-11-stable/sys/ofed/include/rdma/
H A Drdma_vt.h324 int attr_mask, struct ib_udata *udata);
328 int attr_mask, struct ib_udata *udata);
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dverbs.c719 int attr_mask)
723 return ibv_cmd_modify_srq(srq, attr, attr_mask, &cmd, sizeof cmd);
1521 int attr_mask, struct ibv_qp_init_attr *init_attr)
1530 ret = ibv_cmd_query_qp(ibqp, attr, attr_mask, init_attr, &cmd, sizeof(cmd));
1548 int attr_mask)
1561 if (attr_mask & IBV_QP_PORT) {
1584 if (attr_mask & MLX5_MODIFY_QP_EX_ATTR_MASK)
1585 ret = ibv_cmd_modify_qp_ex(qp, attr, attr_mask,
1591 ret = ibv_cmd_modify_qp(qp, attr, attr_mask,
1595 (attr_mask
717 mlx5_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *attr, int attr_mask) argument
1520 mlx5_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr) argument
1547 mlx5_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask) argument
[all...]
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_provider.c919 int attr_mask, struct ib_udata *udata)
929 if ((attr_mask & IB_QP_STATE) && (attr->qp_state == IB_QPS_RTR))
930 attr_mask &= ~IB_QP_STATE;
933 if (!attr_mask)
948 mask |= (attr_mask & IB_QP_STATE) ? IWCH_QP_ATTR_NEXT_STATE : 0;
949 mask |= (attr_mask & IB_QP_ACCESS_FLAGS) ?
918 iwch_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata) argument

Completed in 370 milliseconds

12