| 288 | } |
| 289 | |
| 290 | static void |
| 291 | ntb_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 | |
| 304 | static int |
| 305 | ntb_rxq_setup(struct rte_rawdev *dev, |
no test coverage detected