msg |= ADF_PFVF_INT | ADF_PFVF_MSGORIGIN_SYSTEM;
ADF_CSR_WR(pmisc_bar_addr, vf_csr_off, msg);
- int us = 0;
/*
* Wait for confirmation from remote that it received
* the message
*/
do {
rte_delay_us_sleep(5);
- us += 5;
val = ADF_CSR_RD(pmisc_bar_addr, vf_csr_off);
} while ((val & ADF_PFVF_INT) &&
(++count < ADF_IOV_MSG_ACK_MAX_RETRY));