Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the current implementation, after application calls rte_eth_dev_reset, it has no way to know if reset has been completed, and if the virtual channel command is called before it is completed, it may cause the dev to be abnormal. To avoid this issue, an uncertain delay need to be added. This commit adds a VF reset check before the dev_reset to inform the application not to invoke any virtual channel commands, to avoid making the device to be abnormal. Suggested-by: Liang-Min Larry Wang <liang-min.wang@intel.com> Signed-off-by: Zhichao Zeng <zhichaox.zeng@intel.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
- Loading branch information