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

Function ena_tx_queue_release_bufs

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

Source from the content-addressed store, hash-verified

975}
976
977static void ena_tx_queue_release_bufs(struct ena_ring *ring)
978{
979 unsigned int i;
980
981 for (i = 0; i < ring->ring_size; ++i) {
982 struct ena_tx_buffer *tx_buf = &ring->tx_buffer_info[i];
983
984 if (tx_buf->mbuf) {
985 rte_pktmbuf_free(tx_buf->mbuf);
986 tx_buf->mbuf = NULL;
987 }
988 }
989}
990
991static int ena_link_update(struct rte_eth_dev *dev,
992 __rte_unused int wait_to_complete)

Callers 1

ena_queue_stopFunction · 0.85

Calls 1

rte_pktmbuf_freeFunction · 0.85

Tested by

no test coverage detected