Home
last modified time | relevance | path

Searched refs:mp_ring (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/cxgbe/
H A Dt4_mp_ring.h36 struct mp_ring;
37 typedef u_int (*ring_drain_t)(struct mp_ring *, u_int, u_int, bool *);
38 typedef u_int (*ring_can_drain_t)(struct mp_ring *);
40 struct mp_ring { struct
61 int mp_ring_alloc(struct mp_ring **, int, void *, ring_drain_t, argument
63 void mp_ring_free(struct mp_ring *);
64 int mp_ring_enqueue(struct mp_ring *, void **, int, int);
65 void mp_ring_check_drainage(struct mp_ring *, int);
66 void mp_ring_reset_stats(struct mp_ring *);
67 bool mp_ring_is_idle(struct mp_ring *);
[all …]
H A Dt4_mp_ring.c89 space_available(struct mp_ring *r, union ring_state s) in space_available()
102 increment_idx(struct mp_ring *r, uint16_t idx, uint16_t n) in increment_idx()
115 drain_ring(struct mp_ring *r, int budget) in drain_ring()
227 drain_txpkts(struct mp_ring *r, union ring_state os, int budget) in drain_txpkts()
258 mp_ring_alloc(struct mp_ring **pr, int size, void *cookie, ring_drain_t drain, in mp_ring_alloc()
262 struct mp_ring *r; in mp_ring_alloc()
273 r = malloc(__offsetof(struct mp_ring, items[size]), mt, flags | M_ZERO); in mp_ring_alloc()
309 mp_ring_free(struct mp_ring *r) in mp_ring_free()
344 mp_ring_enqueue(struct mp_ring *r, void **items, int n, int budget) in mp_ring_enqueue()
476 mp_ring_check_drainage(struct mp_ring *r, int budget) in mp_ring_check_drainage()
[all …]
H A Dadapter.h583 struct mp_ring;
607 struct mp_ring *r; /* tx software ring */
H A Dt4_sge.c3051 can_resume_eth_tx(struct mp_ring *r) in can_resume_eth_tx()
3133 eth_tx(struct mp_ring *r, u_int cidx, u_int pidx, bool *coalescing) in eth_tx()
/freebsd/sys/modules/iflib/
H A DMakefile6 mp_ring.c
/freebsd/tools/build/test-includes/
H A Dbadfiles.inc166 net/mp_ring.h \
/freebsd/sys/conf/
H A Dfiles4166 net/mp_ring.c optional ether iflib