Initialization Routines

This section lists the initialization routines supplied by the Storport driver.

In this section

TopicDescription

StorPortEnablePassiveInitialization

The StorPortEnablePassiveInitialization routine enables the miniport's HwStorPassiveInitializeRoutine callback routine to execute at PASSIVE_LEVEL during miniport initialization.

StorPortGetActiveGroupCount

The StorPortGetActiveGroupCount routine returns the number of processor groups that are present in the system.

StorPortGetActiveNodeCount

The StorPortGetActiveNodeCount routine returns the number of nodes that are present in the system.

StorPortGetBusData

The StorPortGetBusData routine retrieves the bus-specific configuration information necessary to initialize the HBA.

StorPortGetCurrentProcessorNumber

The StorPortGetCurrentProcessorNumber routine retrieves the current processor number from the kernel.

StorPortGetGroupAffinity

The StorPortGetGroupAffinity routine constructs a mask of the active processors in a requested group.

StorPortGetHighestNodeNumber

The StorPortGetHighestNodeNumber routine returns the largest possible node number on the system.

StorPortGetLogicalProcessorRelationship

The StorPortGetLogicalProcessorRelationship routine returns relationship information for one or more specified types. These types include groups, physical packages, and nodes in the host system. The information that is returned includes processor affinity masks that are composed of the logical processors in the host system. These logical processors share the specified relationship types.

StorPortGetLogicalUnit

The StorPortGetLogicalUnit routine returns a pointer to the miniport driver's per-logical-unit storage area.

StorPortGetNodeAffinity

The StorPortGetNodeAffinity routine constructs a mask of the active processors in a requested non-uniform memory access (NUMA) node.

StorPortGetStartIoPerfParams

The StorPortGetStartIoPerfParams routine places the performance parameters for a given I/O request in a STARTIO_PERFORMANCE_PARAMETERS structure.

StorPortInitialize

The StorPortInitilize routine initializes the port driver parameters and extension data. StorPortInitilize also saves the adapter information provided from the miniport driver.

StorPortInitializePerfOpts

The StorPortInitializePerfOpts function initializes the performance optimizations that both the miniport driver and the Storport driver support using a PERF_CONFIGURATION_DATA structure.

StorPortSetAdapterBusType

Used to adjust the BusType of the adapter depending on its current configuration. Setting the BusType with this routine will allow you to override the global property set in the miniport INF without having to re-install the driver. This is useful for scenarios such as RAID support or support for multiple adapters with a different bus type.

StorPortSetBusDataByOffset

The StorPortSetBusDataByOffset routine writes bus-specific configuration information.

StorPortSetDeviceQueueDepth

The StorPortSetDeviceQueueDepth routine sets the maximum depth of the device queue for the indicated device.

StorPortSetPowerSettingNotificationGuids

The StorPortSetPowerSettingNotificationGuids routine enables a miniport to receive power setting notifications. The miniport registers an array of GUIDs which identify the power settings to receive power change notifications for.

StorPortSetUnitAttributes

The StorPortSetUnitAttributes routine registers the power attributes of a storage unit device with the Storport driver.

 

 

 

Send comments about this topic to Microsoft

Anzeigen:
© 2015 Microsoft