Lines Matching defs:from
256 uint16_t to, uint16_t from, uint16_t size)
259 &vq->shadow_used_split[from],
1420 "failed to get enough desc from vring");
1637 VHOST_DATA_LOG(dev->ifname, DEBUG, "failed to get enough desc from vring");
1830 "failed to get enough desc from vring");
1977 VHOST_DATA_LOG(dev->ifname, DEBUG, "failed to get enough desc from vring");
2184 uint16_t to, from;
2187 from = async->last_desc_idx_split & (vq->size - 1);
2188 nr_copy = nr_left + from <= vq->size ? nr_left : vq->size - from;
2192 rte_memcpy(&vq->used->ring[to], &async->descs_split[from],
2197 rte_memcpy(&vq->used->ring[to], &async->descs_split[from],
2199 rte_memcpy(&vq->used->ring[0], &async->descs_split[from + size],
2215 uint16_t from = async->last_buffer_idx_packed;
2223 vq->desc_packed[used_idx].id = async->buffers_packed[from].id;
2224 vq->desc_packed[used_idx].len = async->buffers_packed[from].len;
2226 used_idx += async->buffers_packed[from].count;
2230 from++;
2231 if (from >= vq->size)
2232 from = 0;
2238 from = async->last_buffer_idx_packed;
2243 if (async->buffers_packed[from].len)
2263 vq_inc_last_used_packed(vq, async->buffers_packed[from].count);
2265 from++;
2266 if (from == vq->size)
2267 from = 0;
2271 async->last_buffer_idx_packed = from;
2283 uint16_t start_idx, from, i;
2296 from = start_idx;
2297 while (vq->async->pkts_cmpl_flag[from] && count--) {
2298 vq->async->pkts_cmpl_flag[from] = false;
2299 from++;
2300 if (from >= vq->size)
2301 from -= vq->size;
2309 from = (start_idx + i) % vq->size;
2311 n_buffers += pkts_info[from].nr_buffers;
2313 n_descs += pkts_info[from].descs;
2314 pkts[i] = pkts_info[from].mbuf;
2803 * This differs from the processing incoming packets path where the
3160 "failed mbuf alloc of size %d from %s.",
3436 "failed mbuf alloc of size %d from %s.",
3702 uint16_t start_idx, from, i;
3710 from = start_idx;
3711 while (vq->async->pkts_cmpl_flag[from] && count--) {
3712 vq->async->pkts_cmpl_flag[from] = false;
3713 from = (from + 1) % vq->size;
3721 from = (start_idx + i) % vq->size;
3722 pkts[i] = pkts_info[from].mbuf;
3725 vhost_dequeue_offload(dev, &pkts_info[from].nethdr, pkts[i],
3818 "%s: Failed mbuf alloc of size %d from %s",
3965 VHOST_DATA_LOG(dev->ifname, ERR, "Failed mbuf alloc of size %d from %s.",