| 148 | } |
| 149 | |
| 150 | static int |
| 151 | skeldma_stop(struct rte_dma_dev *dev) |
| 152 | { |
| 153 | struct skeldma_hw *hw = dev->data->dev_private; |
| 154 | |
| 155 | hw->exit_flag = true; |
| 156 | rte_delay_ms(1); |
| 157 | |
| 158 | (void)pthread_cancel((pthread_t)hw->thread.opaque_id); |
| 159 | rte_thread_join(hw->thread, NULL); |
| 160 | |
| 161 | return 0; |
| 162 | } |
| 163 | |
| 164 | static int |
| 165 | vchan_setup(struct skeldma_hw *hw, int16_t dev_id, uint16_t nb_desc) |
nothing calls this directly
no test coverage detected