Searched refs:pnd_snd_idx (Results 1 – 1 of 1) sorted by relevance
68 u32 pnd_snd_idx; in smc_wr_tx_process_cqe() local82 pnd_snd_idx = smc_wr_tx_find_pending_index(link, wc->wr_id); in smc_wr_tx_process_cqe()83 if (pnd_snd_idx == link->wr_tx_cnt) in smc_wr_tx_process_cqe()85 link->wr_tx_pends[pnd_snd_idx].wc_status = wc->status; in smc_wr_tx_process_cqe()86 memcpy(&pnd_snd, &link->wr_tx_pends[pnd_snd_idx], sizeof(pnd_snd)); in smc_wr_tx_process_cqe()88 memset(&link->wr_tx_pends[pnd_snd_idx], 0, in smc_wr_tx_process_cqe()89 sizeof(link->wr_tx_pends[pnd_snd_idx])); in smc_wr_tx_process_cqe()90 memset(&link->wr_tx_bufs[pnd_snd_idx], 0, in smc_wr_tx_process_cqe()91 sizeof(link->wr_tx_bufs[pnd_snd_idx])); in smc_wr_tx_process_cqe()92 if (!test_and_clear_bit(pnd_snd_idx, link->wr_tx_mask)) in smc_wr_tx_process_cqe()