MCPcopy Create free account
hub / github.com/F-Stack/f-stack / check_for_admin_com_state

Function check_for_admin_com_state

dpdk/drivers/net/ena/ena_ethdev.c:1889–1895  ·  view source on GitHub ↗

Check if admin queue is enabled */

Source from the content-addressed store, hash-verified

1887
1888/* Check if admin queue is enabled */
1889static 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
1897static int check_for_tx_completion_in_queue(struct ena_adapter *adapter,
1898 struct ena_ring *tx_ring)

Callers 1

ena_timer_wd_callbackFunction · 0.85

Calls 2

ena_trigger_resetFunction · 0.85

Tested by

no test coverage detected