Searched refs:upend_idx (Results 1 – 1 of 1) sorted by relevance
91 int upend_idx; member197 n->vqs[i].upend_idx = 0; in vhost_net_vq_reset()247 for (i = nvq->done_idx; i != nvq->upend_idx; i = (i + 1) % UIO_MAXIOV) { in vhost_zerocopy_signal_used()331 if (unlikely((nvq->upend_idx + vq->num - VHOST_MAX_PEND) in handle_tx()369 && (nvq->upend_idx + 1) % UIO_MAXIOV != in handle_tx()376 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx()378 vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head); in handle_tx()379 vq->heads[nvq->upend_idx].len = VHOST_DMA_IN_PROGRESS; in handle_tx()382 ubuf->desc = nvq->upend_idx; in handle_tx()387 nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV; in handle_tx()[all …]