Check if admin queue is enabled */
| 1887 | |
| 1888 | /* Check if admin queue is enabled */ |
| 1889 | static void check_for_admin_com_state(struct ena_adapter *adapter) |
| 1890 | { |
| 1891 | if (unlikely(!ena_com_get_admin_running_state(&adapter->ena_dev))) { |
| 1892 | PMD_DRV_LOG(ERR, "ENA admin queue is not in running state\n"); |
| 1893 | ena_trigger_reset(adapter, ENA_REGS_RESET_ADMIN_TO); |
| 1894 | } |
| 1895 | } |
| 1896 | |
| 1897 | static int check_for_tx_completion_in_queue(struct ena_adapter *adapter, |
| 1898 | struct ena_ring *tx_ring) |
no test coverage detected