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

Function ena_rx_queue_release_bufs

dpdk/drivers/net/ena/ena_ethdev.c:964–975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

962}
963
964static void ena_rx_queue_release_bufs(struct ena_ring *ring)
965{
966 unsigned int i;
967
968 for (i = 0; i < ring->ring_size; ++i) {
969 struct ena_rx_buffer *rx_info = &ring->rx_buffer_info[i];
970 if (rx_info->mbuf) {
971 rte_mbuf_raw_free(rx_info->mbuf);
972 rx_info->mbuf = NULL;
973 }
974 }
975}
976
977static void ena_tx_queue_release_bufs(struct ena_ring *ring)
978{

Callers 1

ena_queue_stopFunction · 0.85

Calls 1

rte_mbuf_raw_freeFunction · 0.85

Tested by

no test coverage detected