Searched refs:mbq (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/sys/dev/netmap/
H A Dnetmap_mbq.h48 struct mbq { struct
59 void mbq_init(struct mbq *q);
60 void mbq_destroy(struct mbq *q);
61 void mbq_enqueue(struct mbq *q, struct mbuf *m);
62 struct mbuf *mbq_dequeue(struct mbq *q);
63 void mbq_purge(struct mbq *q);
67 void mbq_safe_init(struct mbq *q);
68 void mbq_safe_destroy(struct mbq *q);
69 void mbq_safe_enqueue(struct mbq *q, struct mbuf *m);
70 struct mbuf *mbq_safe_dequeue(struct mbq *
[all...]
H A Dnetmap_mbq.c44 static inline void __mbq_init(struct mbq *q)
51 void mbq_safe_init(struct mbq *q)
53 mtx_init(&q->lock, "mbq", NULL, MTX_SPIN);
58 void mbq_init(struct mbq *q)
64 static inline void __mbq_enqueue(struct mbq *q, struct mbuf *m)
77 void mbq_safe_enqueue(struct mbq *q, struct mbuf *m)
85 void mbq_enqueue(struct mbq *q, struct mbuf *m)
91 static inline struct mbuf *__mbq_dequeue(struct mbq *q)
109 struct mbuf *mbq_safe_dequeue(struct mbq *q)
121 struct mbuf *mbq_dequeue(struct mbq *
[all...]
H A Dnetmap.c592 struct mbq *q = &na->rx_rings[na->num_rx_rings].rx_queue;
594 ND("destroy sw mbq with len %d", mbq_len(q));
850 netmap_send_up(struct ifnet *dst, struct mbq *q)
871 netmap_grab_packets(struct netmap_kring *kring, struct mbq *q, int force)
964 struct mbq q;
1007 struct mbq *q = &kring->rx_queue;
1898 struct mbq q; /* packets from hw queues to host stack */
2302 /* initialize the mbq for the sw rx ring */
2341 * We only store packets in a bounded mbq and then copy them
2356 struct mbq *
[all...]
H A Dnetmap_kern.h214 * RX rings attached to the host stack use an mbq (rx_queue) on both
215 * rxsync_from_host() and netmap_transmit(). The mbq is protected
279 struct mbq rx_queue; /* intercepted rx mbufs. */

Completed in 108 milliseconds