Lines Matching refs:ptnet_queue
118 struct ptnet_queue { struct
159 struct ptnet_queue *queues;
160 struct ptnet_queue *rxqueues;
189 static int ptnet_drain_transmit_queue(struct ptnet_queue *pq,
218 static int ptnet_rx_eof(struct ptnet_queue *pq, unsigned int budget,
259 static inline void ptnet_kick(struct ptnet_queue *pq) in ptnet_kick()
358 sc->queues = malloc(sizeof(struct ptnet_queue) * sc->num_rings, in ptnet_attach()
367 struct ptnet_queue *pq = sc->queues + i; in ptnet_attach()
519 struct ptnet_queue *pq = sc->queues + i; in ptnet_detach()
548 struct ptnet_queue *pq = sc->queues + i; in ptnet_detach()
638 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_init()
653 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_init()
679 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_init()
706 struct ptnet_queue *pq = sc->queues + i; in ptnet_irqs_fini()
774 struct ptnet_queue *pq; in ptnet_ioctl()
972 struct ptnet_queue *pq = sc->queues + i; in ptnet_qflush()
1010 struct ptnet_queue *pq = sc->queues + i; in ptnet_get_counter()
1048 struct ptnet_queue *pq = sc->queues + i; in ptnet_tick()
1162 struct ptnet_queue *pq; in ptnet_nm_register()
1239 struct ptnet_queue *pq = sc->queues + kring->ring_id; in ptnet_nm_txsync()
1254 struct ptnet_queue *pq = sc->rxqueues + kring->ring_id; in ptnet_nm_rxsync()
1272 struct ptnet_queue *pq = sc->queues + i; in ptnet_nm_intr()
1280 struct ptnet_queue *pq = opaque; in ptnet_tx_intr()
1302 struct ptnet_queue *pq = opaque; in ptnet_rx_intr()
1337 ptnet_ring_update(struct ptnet_queue *pq, struct netmap_kring *kring, in ptnet_ring_update()
1368 ptnet_drain_transmit_queue(struct ptnet_queue *pq, unsigned int budget, in ptnet_drain_transmit_queue()
1568 struct ptnet_queue *pq; in ptnet_transmit()
1669 ptnet_rx_eof(struct ptnet_queue *pq, unsigned int budget, bool may_resched) in ptnet_rx_eof()
1905 struct ptnet_queue *pq = context; in ptnet_rx_task()
1914 struct ptnet_queue *pq = context; in ptnet_tx_task()
1940 struct ptnet_queue *pq = sc->queues + i; in ptnet_poll()