IB_WQ_CUR_STATE
if (cmd.attr_mask > (IB_WQ_STATE | IB_WQ_CUR_STATE | IB_WQ_FLAGS))
if (cmd.attr_mask & IB_WQ_CUR_STATE) {