Home
last modified time | relevance | path

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

/Linux-v5.10/net/smc/
Dsmc_wr.c89 u32 pnd_snd_idx; in smc_wr_tx_process_cqe() local
103 pnd_snd_idx = smc_wr_tx_find_pending_index(link, wc->wr_id); in smc_wr_tx_process_cqe()
104 if (pnd_snd_idx == link->wr_tx_cnt) in smc_wr_tx_process_cqe()
106 link->wr_tx_pends[pnd_snd_idx].wc_status = wc->status; in smc_wr_tx_process_cqe()
107 if (link->wr_tx_pends[pnd_snd_idx].compl_requested) in smc_wr_tx_process_cqe()
108 complete(&link->wr_tx_compl[pnd_snd_idx]); in smc_wr_tx_process_cqe()
109 memcpy(&pnd_snd, &link->wr_tx_pends[pnd_snd_idx], sizeof(pnd_snd)); in smc_wr_tx_process_cqe()
111 memset(&link->wr_tx_pends[pnd_snd_idx], 0, in smc_wr_tx_process_cqe()
112 sizeof(link->wr_tx_pends[pnd_snd_idx])); in smc_wr_tx_process_cqe()
113 memset(&link->wr_tx_bufs[pnd_snd_idx], 0, in smc_wr_tx_process_cqe()
[all …]