| 260 | } |
| 261 | |
| 262 | __rte_unused |
| 263 | static int |
| 264 | iavf_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 |
| 280 | static void |