Searched refs:drbs (Results 1 - 3 of 3) sorted by relevance

/tldk/lib/libtle_dring/
H A Dtle_dring.h39 * It is a caller responsibility to provide sufficient number of drbs for
40 * enqueue operation, and manage unused drbs returned by dequeue operation.
125 struct tle_drb *drbs[], uint32_t nb_drb)
146 pb->next = drbs[j];
147 pb = drbs[j];
169 * Note that it is a caller responsibility to provide enough drbs
178 * @param drbs
179 * An array of pointers to the drbs that can be used by the dring
182 * at input: number of elements in the drbs[] array.
183 * at output: number of unused by the dring elements in the drbs[] arra
123 __tle_dring_enqueue(struct tle_dring *dr, uint32_t head, const void * const objs[], uint32_t nb_obj, struct tle_drb *drbs[], uint32_t nb_drb) argument
188 tle_dring_mp_enqueue(struct tle_dring *dr, const void * const objs[], uint32_t nb_obj, struct tle_drb *drbs[], uint32_t *nb_drb) argument
243 tle_dring_sp_enqueue(struct tle_dring *dr, const void * const objs[], uint32_t nb_obj, struct tle_drb *drbs[], uint32_t *nb_drb) argument
288 tle_dring_enqueue(struct tle_dring *dr, const void * const objs[], uint32_t nb_obj, struct tle_drb *drbs[], uint32_t *nb_drb) argument
301 __tle_dring_dequeue(struct tle_dring *dr, uint32_t head, const void *objs[], uint32_t nb_obj, struct tle_drb *drbs[], uint32_t nb_drb) argument
370 tle_dring_mc_dequeue(struct tle_dring *dr, const void *objs[], uint32_t nb_obj, struct tle_drb *drbs[], uint32_t *nb_drb) argument
435 tle_dring_sc_dequeue(struct tle_dring *dr, const void *objs[], uint32_t nb_obj, struct tle_drb *drbs[], uint32_t *nb_drb) argument
490 tle_dring_dequeue(struct tle_dring *dr, const void *objs[], uint32_t nb_obj, struct tle_drb *drbs[], uint32_t *nb_drb) argument
[all...]
/tldk/lib/libtle_l4p/
H A Dudp_rxtx.c256 /* free empty drbs and notify related streams. */
443 stream_drb_free(struct tle_udp_stream *s, struct tle_drb *drbs[], argument
446 _rte_ring_enqueue_burst(s->tx.drb.r, (void **)drbs, nb_drb);
450 stream_drb_alloc(struct tle_udp_stream *s, struct tle_drb *drbs[], argument
453 return _rte_ring_dequeue_burst(s->tx.drb.r, (void **)drbs, nb_drb);
460 struct tle_drb *drbs[], uint32_t *nb_drb, uint8_t all_or_nothing)
466 /* calulate how many drbs are needed.*/
471 /* allocate required drbs */
473 nb = stream_drb_alloc(s, drbs + nbc, nb);
477 /* no free drbs, ca
458 queue_pkt_out(struct tle_udp_stream *s, struct tle_dev *dev, const void *pkt[], uint16_t nb_pkt, struct tle_drb *drbs[], uint32_t *nb_drb, uint8_t all_or_nothing) argument
[all...]
H A Dtcp_rxtx.c154 stream_drb_free(struct tle_tcp_stream *s, struct tle_drb *drbs[], argument
157 _rte_ring_enqueue_burst(s->tx.drb.r, (void **)drbs, nb_drb);
161 stream_drb_alloc(struct tle_tcp_stream *s, struct tle_drb *drbs[], argument
164 return _rte_ring_dequeue_burst(s->tx.drb.r, (void **)drbs, nb_drb);
337 /* calculate how many drbs are needed.*/
341 /* allocate drbs, adjust number of packets. */
358 /* free unused drbs. */
560 /* free unused drbs. */
1997 /* free empty drbs and notify related streams. */

Completed in 9 milliseconds