Lines Matching refs:ptnet_queue
127 struct ptnet_queue { struct
168 struct ptnet_queue *queues;
169 struct ptnet_queue *rxqueues;
198 static int ptnet_drain_transmit_queue(struct ptnet_queue *pq,
227 static int ptnet_rx_eof(struct ptnet_queue *pq, unsigned int budget,
269 static inline void ptnet_kick(struct ptnet_queue *pq) in ptnet_kick()
368 sc->queues = malloc(sizeof(struct ptnet_queue) * sc->num_rings, in ptnet_attach()
377 struct ptnet_queue *pq = sc->queues + i; in ptnet_attach()
537 struct ptnet_queue *pq = sc->queues + i; in ptnet_detach()
566 struct ptnet_queue *pq = sc->queues + i; in ptnet_detach()
656 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_init()
671 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_init()
697 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_init()
724 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_fini()
792 struct ptnet_queue *pq; in ptnet_ioctl()
990 struct ptnet_queue *pq = sc->queues + i; in ptnet_qflush()
1029 struct ptnet_queue *pq = sc->queues + i; in ptnet_get_counter()
1068 struct ptnet_queue *pq = sc->queues + i; in ptnet_tick()
1182 struct ptnet_queue *pq; in ptnet_nm_register()
1259 struct ptnet_queue *pq = sc->queues + kring->ring_id; in ptnet_nm_txsync()
1274 struct ptnet_queue *pq = sc->rxqueues + kring->ring_id; in ptnet_nm_rxsync()
1292 struct ptnet_queue *pq = sc->queues + i; in ptnet_nm_intr()
1300 struct ptnet_queue *pq = opaque; in ptnet_tx_intr()
1322 struct ptnet_queue *pq = opaque; in ptnet_rx_intr()
1357 ptnet_ring_update(struct ptnet_queue *pq, struct netmap_kring *kring, in ptnet_ring_update()
1388 ptnet_drain_transmit_queue(struct ptnet_queue *pq, unsigned int budget, in ptnet_drain_transmit_queue()
1588 struct ptnet_queue *pq; in ptnet_transmit()
1689 ptnet_rx_eof(struct ptnet_queue *pq, unsigned int budget, bool may_resched) in ptnet_rx_eof()
1925 struct ptnet_queue *pq = context; in ptnet_rx_task()
1934 struct ptnet_queue *pq = context; in ptnet_tx_task()
1960 struct ptnet_queue *pq = sc->queues + i; in ptnet_poll()