Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_net.c63 #define VTNET_MAXSEGS 256 macro
242 struct virtio_mrg_rxbuf_info info[VTNET_MAXSEGS]; in pci_vtnet_rx()
243 struct iovec iov[VTNET_MAXSEGS + 1]; in pci_vtnet_rx()
286 int n = vq_getchain(vq, riov, VTNET_MAXSEGS - riov_len, in pci_vtnet_rx()
314 assert(n >= 1 && riov_len + n <= VTNET_MAXSEGS); in pci_vtnet_rx()
324 } while (riov_bytes < plen && riov_len < VTNET_MAXSEGS); in pci_vtnet_rx()
432 struct iovec iov[VTNET_MAXSEGS + 1]; in pci_vtnet_proctx()
442 n = vq_getchain(vq, iov, VTNET_MAXSEGS, &req); in pci_vtnet_proctx()
443 assert(n >= 1 && n <= VTNET_MAXSEGS); in pci_vtnet_proctx()