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

/freebsd-13-stable/sys/dev/netmap/
H A Dnetmap_mbq.h53 struct mbq { struct
63 void mbq_init(struct mbq *q);
64 void mbq_fini(struct mbq *q);
65 void mbq_enqueue(struct mbq *q, struct mbuf *m);
66 struct mbuf *mbq_dequeue(struct mbq *q);
67 void mbq_purge(struct mbq *q);
70 mbq_peek(struct mbq *q)
76 mbq_lock(struct mbq *q)
82 mbq_unlock(struct mbq *q)
88 void mbq_safe_init(struct mbq *
[all...]
H A Dnetmap_mbq.c49 static inline void __mbq_init(struct mbq *q)
56 void mbq_safe_init(struct mbq *q)
58 mtx_init(&q->lock, "mbq", NULL, MTX_SPIN);
63 void mbq_init(struct mbq *q)
69 static inline void __mbq_enqueue(struct mbq *q, struct mbuf *m)
82 void mbq_safe_enqueue(struct mbq *q, struct mbuf *m)
90 void mbq_enqueue(struct mbq *q, struct mbuf *m)
96 static inline struct mbuf *__mbq_dequeue(struct mbq *q)
114 struct mbuf *mbq_safe_dequeue(struct mbq *q)
126 struct mbuf *mbq_dequeue(struct mbq *
[all...]
H A Dnetmap.c964 struct mbq *q = &NMR(na, NR_RX)[i]->rx_queue;
965 nm_prdis("destroy sw mbq with len %d", mbq_len(q));
1154 netmap_send_up(struct ifnet *dst, struct mbq *q)
1188 netmap_grab_packets(struct netmap_kring *kring, struct mbq *q, int force)
1309 struct mbq q;
1345 struct mbq *q = &kring->rx_queue, fq;
2258 * and adds the mbq (used for the host rings).
2268 * avoid allocating the mbq
2479 struct mbq q; /* packets from RX hw queues to host stack */
3386 struct mbq
[all...]
H A Dnetmap_generic.c46 * For each receive ring we allocate one "struct mbq"
49 * on the receive path and put them in the mbq from which
890 struct mbq tmpq;
H A Dnetmap_kern.h416 * RX rings attached to the host stack use an mbq (rx_queue) on both
417 * rxsync_from_host() and netmap_transmit(). The mbq is protected
509 struct mbq rx_queue; /* intercepted rx mbufs. */

Completed in 116 milliseconds