Home
last modified time | relevance | path

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

/freebsd-13.1/usr.sbin/bhyve/
H A Dpci_virtio_net.c68 #define VTNET_MAXSEGS 256 macro
248 struct virtio_mrg_rxbuf_info info[VTNET_MAXSEGS]; in pci_vtnet_rx()
249 struct iovec iov[VTNET_MAXSEGS + 1]; in pci_vtnet_rx()
292 int n = vq_getchain(vq, riov, VTNET_MAXSEGS - riov_len, in pci_vtnet_rx()
320 assert(n >= 1 && riov_len + n <= VTNET_MAXSEGS); in pci_vtnet_rx()
330 } while (riov_bytes < plen && riov_len < VTNET_MAXSEGS); in pci_vtnet_rx()
438 struct iovec iov[VTNET_MAXSEGS + 1]; in pci_vtnet_proctx()
448 n = vq_getchain(vq, iov, VTNET_MAXSEGS, &req); in pci_vtnet_proctx()
449 assert(n >= 1 && n <= VTNET_MAXSEGS); in pci_vtnet_proctx()