Home
last modified time | relevance | path

Searched refs:pnd_snd_idx (Results 1 – 1 of 1) sorted by relevance

/net/smc/
Dsmc_wr.c85 u32 pnd_snd_idx; in smc_wr_tx_process_cqe() local
98 pnd_snd_idx = smc_wr_tx_find_pending_index(link, wc->wr_id); in smc_wr_tx_process_cqe()
99 if (pnd_snd_idx == link->wr_tx_cnt) in smc_wr_tx_process_cqe()
101 link->wr_tx_pends[pnd_snd_idx].wc_status = wc->status; in smc_wr_tx_process_cqe()
102 if (link->wr_tx_pends[pnd_snd_idx].compl_requested) in smc_wr_tx_process_cqe()
103 complete(&link->wr_tx_compl[pnd_snd_idx]); in smc_wr_tx_process_cqe()
104 memcpy(&pnd_snd, &link->wr_tx_pends[pnd_snd_idx], sizeof(pnd_snd)); in smc_wr_tx_process_cqe()
106 memset(&link->wr_tx_pends[pnd_snd_idx], 0, in smc_wr_tx_process_cqe()
107 sizeof(link->wr_tx_pends[pnd_snd_idx])); in smc_wr_tx_process_cqe()
108 memset(&link->wr_tx_bufs[pnd_snd_idx], 0, in smc_wr_tx_process_cqe()
[all …]