Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Mostly backported components from vioscsi or vioscsi-proposed... 2. PR virtio-win#1289 - Added missing juice in PR virtio-win#487 (f8c904c), recommended for SMP with CPU affinity plus increase in MAX_PHYS_SEGMENTS (8x) and MaxXfer size (regression). 3. Addded VioStorReadRegistryParameter() and dependecy CopyBufferToAnsiString() to set max_segments. Fudged hba_id to "1". 4. Refactored multi-factor max_segments computation for use with NOPB and MaximumTransferLength. 5. Refactored memory allocation calculations and added padding to ensure alignment. 6. Significant instrumentation of the above. 7. Added instrumentation to RhelSetGuestFeatures(). 8. Refactored VirtIoHwInitialize() to produce improved and clean instrumentation. 9. Added conditional compilation for STOR_PERF_DPC_REDIRECTION_CURRENT_CPU (dependent on setting of NTDDI_VERSION in project file). 10. Added notes re STOR_PERF_NO_SGL being of no effect. 11. Minor refactoring of definitions in virtio_stor.h plus added some new VQ and registry definitions. 12. Changed VIRTIO_MAX_SG to (MAX_PHYS_SEGMENTS + 1). 13. Changed type (USHORT) of num_queues to ULONG in ADAPTER_EXTENSION. 14. Added max_segments to ADAPTER_EXTENSION. 15. Added WPP trace bits for guest features and registry. 16. Refactored RhelGetDiskGeometry() to improve instrumentation. Signed-off-by: benyamin-codez <[email protected]>
- Loading branch information