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

Function iavf_dev_watchdog_disable

dpdk/drivers/net/iavf/iavf_ethdev.c:348–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348void
349iavf_dev_watchdog_disable(struct iavf_adapter *adapter)
350{
351 if (!adapter->devargs.watchdog_period) {
352 PMD_DRV_LOG(INFO, "Device watchdog is not enabled");
353 } else {
354 if (adapter->vf.watchdog_enabled) {
355 PMD_DRV_LOG(INFO, "Disabling device watchdog");
356 adapter->vf.watchdog_enabled = false;
357 rte_eal_alarm_cancel(&iavf_dev_watchdog, (void *)adapter);
358 }
359 }
360}
361
362static int
363iavf_set_mc_addr_list(struct rte_eth_dev *dev,

Callers 4

iavf_queues_req_resetFunction · 0.85
iavf_dev_closeFunction · 0.85
iavf_read_msg_from_pfFunction · 0.85
iavf_handle_pf_event_msgFunction · 0.85

Calls 1

rte_eal_alarm_cancelFunction · 0.50

Tested by

no test coverage detected