struct hisi_acc_vf_core_device { struct vfio_pci_core_device core_device;
u8 match_done; /* * io_base is only valid when dev_opened is true, * which is protected by open_mutex.
*/ bool dev_opened; /* Ensure the accuracy of dev_opened operation */ struct mutex open_mutex;
/* For migration state */ struct mutex state_mutex; enum vfio_device_mig_state mig_state; struct pci_dev *pf_dev; struct pci_dev *vf_dev; struct hisi_qm *pf_qm; struct hisi_qm vf_qm; /* * vf_qm_state represents the QM_VF_STATE register value. * It is set by Guest driver for the ACC VF dev indicating * the driver has loaded and configured the dev correctly.
*/
u32 vf_qm_state; int vf_id; struct hisi_acc_vf_migration_file *resuming_migf; struct hisi_acc_vf_migration_file *saving_migf;
/* * It holds migration data corresponding to the last migration * and is used by the debugfs interface to report it.
*/ struct hisi_acc_vf_migration_file *debug_migf;
}; #endif/* HISI_ACC_VFIO_PCI_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.