Home
last modified time | relevance | path

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

/freebsd/sys/dev/virtio/network/
H A Dif_vtnet.c856 txq = &sc->vtnet_txqs[id]; in vtnet_init_txq()
895 sc->vtnet_txqs = malloc(sizeof(struct vtnet_txq) * npairs, M_DEVBUF, in vtnet_alloc_rxtx_queues()
897 if (sc->vtnet_rxqs == NULL || sc->vtnet_txqs == NULL) in vtnet_alloc_rxtx_queues()
970 if (sc->vtnet_txqs != NULL) { in vtnet_free_rxtx_queues()
972 vtnet_destroy_txq(&sc->vtnet_txqs[i]); in vtnet_free_rxtx_queues()
973 free(sc->vtnet_txqs, M_DEVBUF); in vtnet_free_rxtx_queues()
974 sc->vtnet_txqs = NULL; in vtnet_free_rxtx_queues()
1039 txq = &sc->vtnet_txqs[i]; in vtnet_alloc_virtqueues()
1051 txq = &sc->vtnet_txqs[i]; in vtnet_alloc_virtqueues()
1100 struct virtqueue *vq = sc->vtnet_txqs[0].vtntx_vq; in vtnet_setup_interface()
[all …]
H A Dif_vtnetvar.h145 struct vtnet_txq *vtnet_txqs; member
/freebsd/sys/dev/netmap/
H A Dif_vtnet_netmap.h70 struct vtnet_txq *txq = &sc->vtnet_txqs[ring_nr]; in vtnet_netmap_txsync()
356 struct vtnet_txq *txq = &sc->vtnet_txqs[i]; in vtnet_netmap_intr()
389 return virtqueue_size(sc->vtnet_txqs[0].vtntx_vq) / div; in vtnet_netmap_tx_slots()