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

Function rte_rawdev_dequeue_buffers

dpdk/lib/rawdev/rte_rawdev.c:233–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233int
234rte_rawdev_dequeue_buffers(uint16_t dev_id,
235 struct rte_rawdev_buf **buffers,
236 unsigned int count,
237 rte_rawdev_obj_t context)
238{
239 struct rte_rawdev *dev;
240
241 RTE_RAWDEV_VALID_DEVID_OR_ERR_RET(dev_id, -EINVAL);
242 dev = &rte_rawdevs[dev_id];
243
244 if (*dev->dev_ops->dequeue_bufs == NULL)
245 return -ENOTSUP;
246 return (*dev->dev_ops->dequeue_bufs)(dev, buffers, count, context);
247}
248
249int
250rte_rawdev_dump(uint16_t dev_id, FILE *f)

Callers 6

__rte_pmd_gpio_enq_deqFunction · 0.85
__rte_pmd_bphy_enq_deqFunction · 0.85
test_rawdev_enqdeqFunction · 0.85
start_polling_recv_fileFunction · 0.85
start_iofwd_per_lcoreFunction · 0.85
start_rxonly_per_lcoreFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_rawdev_enqdeqFunction · 0.68