MCPcopy Create free account
hub / github.com/F-Stack/f-stack / refill_fl

Function refill_fl

dpdk/drivers/net/cxgbe/sge.c:382–385  ·  view source on GitHub ↗

* refill_fl - refill an SGE Rx buffer ring with mbufs * @adap: the adapter * @q: the ring to refill * @n: the number of new buffers to allocate * * (Re)populate an SGE free-buffer queue with up to @n new packet buffers, * allocated with the supplied gfp flags. The caller must assure that * @n does not exceed the queue's capacity. Returns the number of buffers * allocated. */

Source from the content-addressed store, hash-verified

380 * allocated.
381 */
382static unsigned int refill_fl(struct adapter *adap, struct sge_fl *q, int n)
383{
384 return refill_fl_usembufs(adap, q, n);
385}
386
387static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl)
388{

Callers 2

__refill_flFunction · 0.85
t4_sge_alloc_rxqFunction · 0.85

Calls 1

refill_fl_usembufsFunction · 0.85

Tested by

no test coverage detected