Searched refs:credits_pend (Results 1 – 1 of 1) sorted by relevance
97 static void free_cmdQ_buffers(pesge *sge, cmdQ_t *Q, uint32_t credits_pend);598 uint32_t credits_pend[2] = {0, 0}; in sge_data_in() local660 credits_pend[0] += e->Cmdq0CreditReturn; in sge_data_in()661 credits_pend[1] += e->Cmdq1CreditReturn; in sge_data_in()663 if (unlikely(credits_pend[0] > SGE_BATCH_THRESH)) { in sge_data_in()664 free_cmdQ_buffers(sge, &sge->cmdQ[0], credits_pend[0]); in sge_data_in()665 credits_pend[0] = 0; in sge_data_in()667 if (unlikely(credits_pend[1] > SGE_BATCH_THRESH)) { in sge_data_in()668 free_cmdQ_buffers(sge, &sge->cmdQ[1], credits_pend[1]); in sge_data_in()669 credits_pend[1] = 0; in sge_data_in()[all …]