| 975 | } |
| 976 | |
| 977 | static 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 | |
| 991 | static int ena_link_update(struct rte_eth_dev *dev, |
| 992 | __rte_unused int wait_to_complete) |
no test coverage detected