Lines Matching refs:attr_mask

1397  * @attr_mask: the mask of attributes to modify
1403 int attr_mask, struct ib_udata *udata)
1414 if (attr_mask & ~IB_QP_ATTR_STANDARD_BITS)
1421 cur_state = attr_mask & IB_QP_CUR_STATE ?
1423 new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
1427 attr_mask))
1431 rdi->driver_f.check_modify_qp(qp, attr, attr_mask, udata))
1434 if (attr_mask & IB_QP_AV) {
1449 if (attr_mask & IB_QP_ALT_PATH) {
1466 if (attr_mask & IB_QP_PKEY_INDEX)
1470 if (attr_mask & IB_QP_MIN_RNR_TIMER)
1474 if (attr_mask & IB_QP_PORT)
1481 if (attr_mask & IB_QP_DEST_QPN)
1485 if (attr_mask & IB_QP_RETRY_CNT)
1489 if (attr_mask & IB_QP_RNR_RETRY)
1501 if (attr_mask & IB_QP_PATH_MTU) {
1507 if (attr_mask & IB_QP_PATH_MIG_STATE) {
1525 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
1561 if (attr_mask & IB_QP_PKEY_INDEX)
1564 if (attr_mask & IB_QP_PORT)
1567 if (attr_mask & IB_QP_DEST_QPN)
1570 if (attr_mask & IB_QP_SQ_PSN) {
1578 if (attr_mask & IB_QP_RQ_PSN)
1581 if (attr_mask & IB_QP_ACCESS_FLAGS)
1584 if (attr_mask & IB_QP_AV) {
1590 if (attr_mask & IB_QP_ALT_PATH) {
1595 if (attr_mask & IB_QP_PATH_MIG_STATE) {
1604 if (attr_mask & IB_QP_PATH_MTU) {
1609 if (attr_mask & IB_QP_RETRY_CNT) {
1614 if (attr_mask & IB_QP_RNR_RETRY) {
1619 if (attr_mask & IB_QP_MIN_RNR_TIMER)
1622 if (attr_mask & IB_QP_TIMEOUT) {
1627 if (attr_mask & IB_QP_QKEY)
1630 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC)
1633 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC)
1637 rdi->driver_f.modify_qp(qp, attr, attr_mask, udata);
1713 * @attr_mask: attr mask ignored
1719 int attr_mask, struct ib_qp_init_attr *init_attr)