| 476 | } |
| 477 | |
| 478 | static int |
| 479 | ntb_queue_release(struct rte_rawdev *dev, uint16_t queue_id) |
| 480 | { |
| 481 | struct ntb_hw *hw = dev->dev_private; |
| 482 | |
| 483 | if (queue_id >= hw->queue_pairs) |
| 484 | return -EINVAL; |
| 485 | |
| 486 | ntb_txq_release(hw->tx_queues[queue_id]); |
| 487 | hw->tx_queues[queue_id] = NULL; |
| 488 | ntb_rxq_release(hw->rx_queues[queue_id]); |
| 489 | hw->rx_queues[queue_id] = NULL; |
| 490 | |
| 491 | return 0; |
| 492 | } |
| 493 | |
| 494 | static uint16_t |
| 495 | ntb_queue_count(struct rte_rawdev *dev) |
no test coverage detected