Searched refs:mbq (Results 1 - 5 of 5) sorted by relevance
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_mbq.h | 51 struct mbq { struct 61 void mbq_init(struct mbq *q); 62 void mbq_fini(struct mbq *q); 63 void mbq_enqueue(struct mbq *q, struct mbuf *m); 64 struct mbuf *mbq_dequeue(struct mbq *q); 65 void mbq_purge(struct mbq *q); 68 mbq_peek(struct mbq *q) 74 mbq_lock(struct mbq *q) 80 mbq_unlock(struct mbq *q) 86 void mbq_safe_init(struct mbq * [all...] |
H A D | netmap_mbq.c | 47 static inline void __mbq_init(struct mbq *q) 54 void mbq_safe_init(struct mbq *q) 56 mtx_init(&q->lock, "mbq", NULL, MTX_SPIN); 61 void mbq_init(struct mbq *q) 67 static inline void __mbq_enqueue(struct mbq *q, struct mbuf *m) 80 void mbq_safe_enqueue(struct mbq *q, struct mbuf *m) 88 void mbq_enqueue(struct mbq *q, struct mbuf *m) 94 static inline struct mbuf *__mbq_dequeue(struct mbq *q) 112 struct mbuf *mbq_safe_dequeue(struct mbq *q) 124 struct mbuf *mbq_dequeue(struct mbq * [all...] |
H A D | netmap.c | 958 struct mbq *q = &NMR(na, NR_RX)[i]->rx_queue; 959 nm_prdis("destroy sw mbq with len %d", mbq_len(q)); 1139 netmap_send_up(struct ifnet *dst, struct mbq *q) 1166 netmap_grab_packets(struct netmap_kring *kring, struct mbq *q, int force) 1287 struct mbq q; 1323 struct mbq *q = &kring->rx_queue, fq; 2199 * and adds the mbq (used for the host rings). 2209 * avoid allocating the mbq 2420 struct mbq q; /* packets from RX hw queues to host stack */ 3245 struct mbq [all...] |
H A D | netmap_generic.c | 44 * For each receive ring we allocate one "struct mbq" 47 * on the receive path and put them in the mbq from which 879 struct mbq tmpq;
|
H A D | netmap_kern.h | 414 * RX rings attached to the host stack use an mbq (rx_queue) on both 415 * rxsync_from_host() and netmap_transmit(). The mbq is protected 507 struct mbq rx_queue; /* intercepted rx mbufs. */
|
Completed in 85 milliseconds