| 144 | } |
| 145 | |
| 146 | static uint16_t |
| 147 | modern_get_queue_num(struct virtio_crypto_hw *hw, uint16_t queue_id) |
| 148 | { |
| 149 | rte_write16(queue_id, &hw->common_cfg->queue_select); |
| 150 | return rte_read16(&hw->common_cfg->queue_size); |
| 151 | } |
| 152 | |
| 153 | static int |
| 154 | modern_setup_queue(struct virtio_crypto_hw *hw, struct virtqueue *vq) |
nothing calls this directly
no test coverage detected