| 921 | } |
| 922 | |
| 923 | static void ena_rx_queue_release(struct rte_eth_dev *dev, uint16_t qid) |
| 924 | { |
| 925 | struct ena_ring *ring = dev->data->rx_queues[qid]; |
| 926 | |
| 927 | /* Free ring resources */ |
| 928 | rte_free(ring->rx_buffer_info); |
| 929 | ring->rx_buffer_info = NULL; |
| 930 | |
| 931 | rte_free(ring->rx_refill_buffer); |
| 932 | ring->rx_refill_buffer = NULL; |
| 933 | |
| 934 | rte_free(ring->empty_rx_reqs); |
| 935 | ring->empty_rx_reqs = NULL; |
| 936 | |
| 937 | ring->configured = 0; |
| 938 | |
| 939 | PMD_DRV_LOG(NOTICE, "Rx queue %d:%d released\n", |
| 940 | ring->port_id, ring->id); |
| 941 | } |
| 942 | |
| 943 | static void ena_tx_queue_release(struct rte_eth_dev *dev, uint16_t qid) |
| 944 | { |
no test coverage detected