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

Function ena_timer_wd_callback

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

Source from the content-addressed store, hash-verified

1976}
1977
1978static void ena_timer_wd_callback(__rte_unused struct rte_timer *timer,
1979 void *arg)
1980{
1981 struct rte_eth_dev *dev = arg;
1982 struct ena_adapter *adapter = dev->data->dev_private;
1983
1984 if (unlikely(adapter->trigger_reset))
1985 return;
1986
1987 check_for_missing_keep_alive(adapter);
1988 check_for_admin_com_state(adapter);
1989 check_for_tx_completions(adapter);
1990
1991 if (unlikely(adapter->trigger_reset)) {
1992 PMD_DRV_LOG(ERR, "Trigger reset is on\n");
1993 rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_RESET,
1994 NULL);
1995 }
1996}
1997
1998static inline void
1999set_default_llq_configurations(struct ena_llq_configurations *llq_config,

Callers

nothing calls this directly

Calls 4

check_for_tx_completionsFunction · 0.85

Tested by

no test coverage detected