MAX_CMD_QLEN
if (ccp->cmd_count >= MAX_CMD_QLEN) {
if (((MAX_CMD_QLEN + front_wi - rear_ri) % MAX_CMD_QLEN) >= (MAX_CMD_QLEN - 1))