Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_virtio_net.c64 #define VTNET_MAXSEGS 256 macro
233 struct virtio_mrg_rxbuf_info info[VTNET_MAXSEGS]; in pci_vtnet_rx()
234 struct iovec iov[VTNET_MAXSEGS + 1]; in pci_vtnet_rx()
277 int n = vq_getchain(vq, riov, VTNET_MAXSEGS - riov_len, in pci_vtnet_rx()
316 assert(n >= 1 && riov_len + n <= VTNET_MAXSEGS); in pci_vtnet_rx()
336 } while (riov_bytes < plen && riov_len < VTNET_MAXSEGS); in pci_vtnet_rx()
448 struct iovec iov[VTNET_MAXSEGS + 1]; in pci_vtnet_proctx()
458 n = vq_getchain(vq, iov, VTNET_MAXSEGS, &req); in pci_vtnet_proctx()
459 assert(n >= 1 && n <= VTNET_MAXSEGS); in pci_vtnet_proctx()
/illumos-gate/usr/src/uts/intel/io/viona/
H A Dviona_rx.c54 #define VTNET_MAXSEGS 32 macro
208 struct iovec iov[VTNET_MAXSEGS]; in viona_recv_plain()
221 n = vq_popchain(ring, iov, VTNET_MAXSEGS, &cookie, &pages); in viona_recv_plain()
306 struct iovec iov[VTNET_MAXSEGS]; in viona_recv_merged()
307 used_elem_t uelem[VTNET_MAXSEGS]; in viona_recv_merged()
320 n = vq_popchain(ring, iov, VTNET_MAXSEGS, &cookie, &hdr_pages); in viona_recv_merged()
381 if (buf_idx == (VTNET_MAXSEGS - 1)) { in viona_recv_merged()
393 n = vq_popchain(ring, iov, VTNET_MAXSEGS, &cookie, in viona_recv_merged()