Searched refs:upend_idx (Results 1 – 1 of 1) sorted by relevance
90 int upend_idx; member196 n->vqs[i].upend_idx = 0; in vhost_net_vq_reset()246 for (i = nvq->done_idx; i != nvq->upend_idx; i = (i + 1) % UIO_MAXIOV) { in vhost_zerocopy_signal_used()330 if (unlikely((nvq->upend_idx + vq->num - VHOST_MAX_PEND) in handle_tx()368 && (nvq->upend_idx + 1) % UIO_MAXIOV != in handle_tx()375 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx()377 vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head); in handle_tx()378 vq->heads[nvq->upend_idx].len = VHOST_DMA_IN_PROGRESS; in handle_tx()381 ubuf->desc = nvq->upend_idx; in handle_tx()386 nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV; in handle_tx()[all …]