Lines Matching refs:ptnet_queue
125 struct ptnet_queue { struct
166 struct ptnet_queue *queues;
167 struct ptnet_queue *rxqueues;
196 static int ptnet_drain_transmit_queue(struct ptnet_queue *pq,
225 static int ptnet_rx_eof(struct ptnet_queue *pq, unsigned int budget,
267 static inline void ptnet_kick(struct ptnet_queue *pq) in ptnet_kick()
366 sc->queues = malloc(sizeof(struct ptnet_queue) * sc->num_rings, in ptnet_attach()
375 struct ptnet_queue *pq = sc->queues + i; in ptnet_attach()
535 struct ptnet_queue *pq = sc->queues + i; in ptnet_detach()
564 struct ptnet_queue *pq = sc->queues + i; in ptnet_detach()
654 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_init()
669 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_init()
695 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_init()
721 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_fini()
789 struct ptnet_queue *pq; in ptnet_ioctl()
987 struct ptnet_queue *pq = sc->queues + i; in ptnet_qflush()
1026 struct ptnet_queue *pq = sc->queues + i; in ptnet_get_counter()
1065 struct ptnet_queue *pq = sc->queues + i; in ptnet_tick()
1179 struct ptnet_queue *pq; in ptnet_nm_register()
1256 struct ptnet_queue *pq = sc->queues + kring->ring_id; in ptnet_nm_txsync()
1271 struct ptnet_queue *pq = sc->rxqueues + kring->ring_id; in ptnet_nm_rxsync()
1289 struct ptnet_queue *pq = sc->queues + i; in ptnet_nm_intr()
1297 struct ptnet_queue *pq = opaque; in ptnet_tx_intr()
1319 struct ptnet_queue *pq = opaque; in ptnet_rx_intr()
1649 ptnet_ring_update(struct ptnet_queue *pq, struct netmap_kring *kring, in ptnet_ring_update()
1680 ptnet_drain_transmit_queue(struct ptnet_queue *pq, unsigned int budget, in ptnet_drain_transmit_queue()
1880 struct ptnet_queue *pq; in ptnet_transmit()
1981 ptnet_rx_eof(struct ptnet_queue *pq, unsigned int budget, bool may_resched) in ptnet_rx_eof()
2220 struct ptnet_queue *pq = context; in ptnet_rx_task()
2229 struct ptnet_queue *pq = context; in ptnet_tx_task()
2255 struct ptnet_queue *pq = sc->queues + i; in ptnet_poll()