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

Function ntb_rxq_release

dpdk/drivers/raw/ntb/ntb.c:290–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290static void
291ntb_rxq_release(struct ntb_rx_queue *rxq)
292{
293 if (!rxq) {
294 NTB_LOG(ERR, "Pointer to rxq is NULL");
295 return;
296 }
297
298 ntb_rxq_release_mbufs(rxq);
299
300 rte_free(rxq->sw_ring);
301 rte_free(rxq);
302}
303
304static int
305ntb_rxq_setup(struct rte_rawdev *dev,

Callers 2

ntb_rxq_setupFunction · 0.85
ntb_queue_releaseFunction · 0.85

Calls 2

ntb_rxq_release_mbufsFunction · 0.85
rte_freeFunction · 0.85

Tested by

no test coverage detected