How to understand StorPortGetStartIoPerfParams

Wenwj 1 Reputation point
2022-01-20T06:05:08.663+00:00

Use WDK10, target env: windows server2019

My scsi adapter support MSI-X, and finished all concurrent I/O initiation for miniport:

  1. Full-duplex
  2. Call StorPortInitializePerfOpts with STOR_PERF_DPC_REDIRECTION/STOR_PERF_CONCURRENT_CHANNELS flag
  3. INF: MSI-X DevicePolicy IrqPolicySpreadMessagesAcrossAllProcessors

Under the concurrent configuration, Is it correct for the follow expectation ?

During HwStartIO , StorPortGetStartIoPerfParams
STARTIO_PERFORMANCE_PARAMETERS.MessageNumber: MSI-X message number to signal completion for this I/O
STARTIO_PERFORMANCE_PARAMETERS.ChannelNumber: unique zero-based channel identifier guaranteed not to be reused until the current I/O completes

https://www.slideserve.com/chi/numa-i

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,639 questions
Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
659 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,721 Reputation points
    2022-01-25T11:45:07.773+00:00

    Hi there,

    The STARTIO_PERFORMANCE_PARAMETERS structure describes the performance parameters that are returned to the Miniport driver by the StorPortGetStartIoPerfParams routine.

    Here are some links to help you out

    StorPortGetStartIoPerfParams function (storport.h)
    https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/storport/nf-storport-storportgetstartioperfparams

    STARTIO_PERFORMANCE_PARAMETERS structure (storport.h)
    https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/storport/ns-storport-_startio_performance_parameters

    -----------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.