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

Function iavf_vfr_inprogress

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

Source from the content-addressed store, hash-verified

260}
261
262__rte_unused
263static int
264iavf_vfr_inprogress(struct iavf_hw *hw)
265{
266 int inprogress = 0;
267
268 if ((IAVF_READ_REG(hw, IAVF_VFGEN_RSTAT) &
269 IAVF_VFGEN_RSTAT_VFR_STATE_MASK) ==
270 VIRTCHNL_VFR_INPROGRESS)
271 inprogress = 1;
272
273 if (inprogress)
274 PMD_DRV_LOG(INFO, "Watchdog detected VFR in progress");
275
276 return inprogress;
277}
278
279__rte_unused
280static void

Callers 1

iavf_dev_watchdogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected