I believe Jerry verified today that you can change this value in the
miniport. Sorry if I misled anyone - I hadn’t realized that dev had set
the default to 17. We will adjust the documentation to reflect this.
-----Original Message-----
From: xxxxx@attotech.com [mailto:xxxxx@attotech.com]
Sent: Friday, March 12, 2004 10:39 AM
Subject: RE: StorPort and MaximumSGList
Repost - sorry, I forgot to change the &%^$# subject line!
Hi, Peter.
So far we are obeying the DDK documentation on NumberOfPhysicalBreaks as
follows:
>>>>>
NumberOfPhysicalBreaks
Specifies the maximum number of breaks between address ranges that
a
data buffer can have if the HBA supports scatter/gather. In other
words, the number of scatter/gather lists minus one. By default,
the
value of this member is SP_UNINITIALIZED_VALUE, which indicates the
HBA can support an unlimited number of physical discontiguities. If
the port driver sets a value for this member, the miniport driver
can
adjust the value lower but no higher. If this member is
SP_UNINITIALIZED_VALUE, the miniport driver must reset this member
according to the HBA’s scatter/gather capacity, with zero
representing
no scatter/gather support.
<<<<<<
So, the StorPort driver is calling FindAdapter with a value of 0x11 in
NumberOfPhysicalBreaks and according to the above, we are not allowed to
change it to a higher value. As per my original query, the StorPort
code
that reads MaximumSgList from the registry is being disabled by some
hard-coded bit mask.
In our drivers, we have typically set MaximumTransferLength to PAGE_SIZE
*
NumberOfPhysicalBreaks.
In reply to Jeffrey, … well, if 255 is the assumed value, then why is
NumberOfPhysicalBreaks coming to us as 0x11?
Are you guys suggesting that the above documentation is wrong for
StorPort
and that we can put basically anything we want to in
NumberOfPhysicalBreaks?
Thanks,
Jerry.
-----Original Message-----
Subject: RE: StorPort and MaximumSGList
From: “Peter Wieland”
Date: Wed, 10 Mar 2004 07:47:20 -0800
X-Message-Number: 7
I don’t know if storport looks at these (scsiport does and I’m
interpolating) but what have you set MaximumTransferLength and
NumberOfPhysicalBreaks to?
-p
… and …
-----Original Message-----
Subject: RE: StorPort and MaximumSGList
From: “Jeffrey Goldner”
Date: Tue, 9 Mar 2004 22:50:38 -0800
X-Message-Number: 3
You should assume that MaximumSGList for Storport is 255. We do ignore
this “by design”.
Jeff