[IPoIB] Report receives with NDIS_STATUS_RESOURCES when below a RQ
[mirror/winof/.git] / ulp / ipoib / kernel / netipoib.inf
1 ; OpenIB Internet Protocol over InfiniBand Adapter\r
2 ; Copyright 2005 SilverStorm Technologies all Rights Reserved.\r
3 \r
4 [Version]\r
5 Signature   = "$Windows NT$"\r
6 Class       = Net\r
7 ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}\r
8 Provider    = %OPENIB%\r
9 DriverVer=04/26/2006,1.0.0000.331\r
10 \r
11 [Manufacturer]\r
12 %OPENIB%       = OPENIB,ntx86,ntamd64,ntia64\r
13 \r
14 [ControlFlags]\r
15 ExcludeFromSelect = IBA\IPoIB\r
16 \r
17 [OPENIB]\r
18 ; empty since we don't support W9x/Me\r
19 \r
20 [OPENIB.ntx86]\r
21 %IpoibDesc%      = Ipoib.DDInstall,    IBA\IPoIB   ; Internet Protocol over InfiniBand Adapter\r
22 \r
23 [OPENIB.ntamd64]\r
24 %IpoibDesc%      = Ipoib.DDInstall,    IBA\IPoIB   ; Internet Protocol over InfiniBand Adapter\r
25 \r
26 [OPENIB.ntia64]\r
27 %IpoibDesc%      = Ipoib.DDInstall,    IBA\IPoIB   ; Internet Protocol over InfiniBand Adapter\r
28 \r
29 [Ipoib.DDInstall.ntx86]\r
30 Characteristics = 0x81 ; NCF_HAS_UI | NCF_VIRTUAL\r
31 AddReg          = IpoibAddReg\r
32 CopyFiles       = IpoibCopyFiles\r
33 CopyFiles               = WsdCopyFiles\r
34 \r
35 [Ipoib.DDInstall.ntamd64]\r
36 Characteristics = 0x81 ; NCF_HAS_UI | NCF_VIRTUAL\r
37 AddReg          = IpoibAddReg\r
38 CopyFiles       = IpoibCopyFiles\r
39 CopyFiles               = WsdCopyFiles\r
40 CopyFiles               = WOW64CopyFiles\r
41 \r
42 [Ipoib.DDInstall.ntia64]\r
43 Characteristics = 0x81 ; NCF_HAS_UI | NCF_VIRTUAL\r
44 AddReg          = IpoibAddReg\r
45 CopyFiles       = IpoibCopyFiles\r
46 CopyFiles               = WsdCopyFiles\r
47 CopyFiles               = WOW64CopyFiles\r
48 \r
49 [Ipoib.DDInstall.ntx86.Services]\r
50 AddService = ipoib, 2, IpoibService, IpoibEventLog\r
51 \r
52 [Ipoib.DDInstall.ntamd64.Services]\r
53 AddService = ipoib, 2, IpoibService, IpoibEventLog\r
54 \r
55 [Ipoib.DDInstall.ntia64.Services]\r
56 AddService = ipoib, 2, IpoibService, IpoibEventLog\r
57 \r
58 [IpoibAddReg]\r
59 HKR, Ndi,                       Service,    0, "ipoib"\r
60 HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"\r
61 HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"\r
62 \r
63 HKR, Ndi\Params\RqDepth,                ParamDesc,      0, "Receive Queue Depth"\r
64 HKR, Ndi\Params\RqDepth,                Type,           0, "dword"\r
65 HKR, Ndi\Params\RqDepth,                Default,        0, "512"\r
66 HKR, Ndi\Params\RqDepth,                Optional,       0, "0"\r
67 HKR, Ndi\Params\RqDepth,                Min,            0, "128"\r
68 HKR, Ndi\Params\RqDepth,                Max,            0, "1024"\r
69 HKR, Ndi\Params\RqDepth,                Step,           0, "128"\r
70 \r
71 HKR, Ndi\Params\RqLowWatermark, ParamDesc,      0, "Receive Queue Low Watermark"\r
72 HKR, Ndi\Params\RqLowWatermark, Type,           0, "dword"\r
73 HKR, Ndi\Params\RqLowWatermark, Default,        0, "4"\r
74 HKR, Ndi\Params\RqLowWatermark, Optional,       0, "1"\r
75 HKR, Ndi\Params\RqLowWatermark, Min,            0, "2"\r
76 HKR, Ndi\Params\RqLowWatermark, Max,            0, "8"\r
77 HKR, Ndi\Params\RqLowWatermark, Step,           0, "1"\r
78 \r
79 HKR, Ndi\Params\SqDepth,                ParamDesc,      0, "Send Queue Depth"\r
80 HKR, Ndi\Params\SqDepth,                Type,           0, "dword"\r
81 HKR, Ndi\Params\SqDepth,                Default,        0, "512"\r
82 HKR, Ndi\Params\SqDepth,                Optional,       0, "0"\r
83 HKR, Ndi\Params\SqDepth,                Min,            0, "128"\r
84 HKR, Ndi\Params\SqDepth,                Max,            0, "1024"\r
85 HKR, Ndi\Params\SqDepth,                Step,           0, "128"\r
86 \r
87 HKR, Ndi\Params\SendChksum,             ParamDesc,      0, "Send Checksum Offload"\r
88 HKR, Ndi\Params\SendChksum,             Type,           0, "enum"\r
89 HKR, Ndi\Params\SendChksum,             Default,        0, "0"\r
90 HKR, Ndi\Params\SendChksum,             Optional,       0, "0"\r
91 HKR, Ndi\Params\SendChksum\enum,        "0",    0, "Disabled"\r
92 HKR, Ndi\Params\SendChksum\enum,        "1",    0, "Enabled"\r
93 \r
94 HKR, Ndi\Params\RecvChksum,             ParamDesc,      0, "Recv Checksum Offload"\r
95 HKR, Ndi\Params\RecvChksum,             Type,           0, "enum"\r
96 HKR, Ndi\Params\RecvChksum,             Default,        0, "0"\r
97 HKR, Ndi\Params\RecvChksum,             Optional,       0, "0"\r
98 HKR, Ndi\Params\RecvChksum\enum,        "0",    0, "Disabled"\r
99 HKR, Ndi\Params\RecvChksum\enum,        "1",    0, "Enabled"\r
100 \r
101 HKR, Ndi\Params\WsdpEnabled,    ParamDesc,      0, "WSDP Support"\r
102 HKR, Ndi\Params\WsdpEnabled,    Type,           0, "enum"\r
103 HKR, Ndi\Params\WsdpEnabled,    Default,        0, "0"\r
104 HKR, Ndi\Params\WsdpEnabled,    Optional,       0, "1"\r
105 HKR, Ndi\Params\WsdpEnabled\enum,       "0",    0, "Disabled"\r
106 HKR, Ndi\Params\WsdpEnabled\enum,       "1",    0, "Enabled"\r
107 \r
108 HKR, Ndi\Params\SaRetries,              ParamDesc,      0, "Static LID"\r
109 HKR, Ndi\Params\SaRetries,              Type,           0, "word"\r
110 HKR, Ndi\Params\SaRetries,              Default,        0, "1"\r
111 HKR, Ndi\Params\SaRetries,              Optional,       0, "1"\r
112 HKR, Ndi\Params\SaRetries,              Min,            0, "1"\r
113 HKR, Ndi\Params\SaRetries,              Max,            0, "65535"\r
114 \r
115 HKR, Ndi\Params\SaTimeout,              ParamDesc,      0, "SA Query Timeout (ms)"\r
116 HKR, Ndi\Params\SaTimeout,              Type,           0, "dword"\r
117 HKR, Ndi\Params\SaTimeout,              Default,        0, "1000"\r
118 HKR, Ndi\Params\SaTimeout,              Optional,       0, "0"\r
119 HKR, Ndi\Params\SaTimeout,              Min,            0, "500"\r
120 HKR, Ndi\Params\SaTimeout,              Step,           0, "250"\r
121 \r
122 HKR, Ndi\Params\SaRetries,              ParamDesc,      0, "SA Query Retry Count"\r
123 HKR, Ndi\Params\SaRetries,              Type,           0, "dword"\r
124 HKR, Ndi\Params\SaRetries,              Default,        0, "10"\r
125 HKR, Ndi\Params\SaRetries,              Optional,       0, "0"\r
126 HKR, Ndi\Params\SaRetries,              Min,            0, "1"\r
127 \r
128 HKR, Ndi\Params\RecvRatio,              ParamDesc,      0, "Receive Pool Ratio"\r
129 HKR, Ndi\Params\RecvRatio,              Type,           0, "dword"\r
130 HKR, Ndi\Params\RecvRatio,              Default,        0, "1"\r
131 HKR, Ndi\Params\RecvRatio,              Optional,       0, "0"\r
132 HKR, Ndi\Params\RecvRatio,              Min,            0, "1"\r
133 HKR, Ndi\Params\RecvRatio,              Max,            0, "10"\r
134 \r
135 HKR, Ndi\Params\RecvGrowth,             ParamDesc,      0, "Receive Pool Growth"\r
136 HKR, Ndi\Params\RecvGrowth,             Type,           0, "enum"\r
137 HKR, Ndi\Params\RecvGrowth,             Default,        0, "1"\r
138 HKR, Ndi\Params\RecvGrowth,             Optional,       0, "1"\r
139 HKR, Ndi\Params\RecvGrowth\enum,        "0",    0, "Disabled"\r
140 HKR, Ndi\Params\RecvGrowth\enum,        "1",    0, "Enabled"\r
141 \r
142 \r
143 [IpoibService]\r
144 DisplayName     = %IpoibServiceDispName%\r
145 ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%\r
146 StartType       = 3 ;%SERVICE_DEMAND_START%\r
147 ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%\r
148 ServiceBinary   = %12%\ipoib.sys\r
149 LoadOrderGroup  = NDIS\r
150 AddReg          = Ipoib.ParamsReg\r
151 \r
152 [Ipoib.ParamsReg]\r
153 HKR,"Parameters","DebugLevel",%REG_DWORD_NO_CLOBBER%,0x00000002\r
154 HKR,"Parameters","DebugFlags",%REG_DWORD_NO_CLOBBER%,0x00000fff\r
155 \r
156 [IpoibEventLog]\r
157 AddReg = IpoibAddEventLogReg\r
158 \r
159 [IpoibAddEventLogReg]\r
160 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll;%%SystemRoot%%\System32\drivers\ipoib.sys"\r
161 HKR, , TypesSupported,   0x00010001, 7\r
162 \r
163 \r
164 [IpoibCopyFiles]\r
165 ipoib.sys,,,2\r
166 \r
167 [WsdCopyFiles]\r
168 ibwsd.dll,,,0x00000002\r
169 \r
170 [WOW64CopyFiles]\r
171 ibwsd.dll,ibwsd32.dll,,0x00000002\r
172 \r
173 [SourceDisksNames.x86]\r
174 1 = %IcsDisk1%,,,\x86\r
175 \r
176 [SourceDisksNames.amd64]\r
177 1 = %IcsDisk1%,,,\amd64\r
178 \r
179 [SourceDisksNames.ia64]\r
180 1 = %IcsDisk1%,,,\ia64\r
181 \r
182 [SourceDisksFiles.x86]\r
183 ipoib.sys = 1\r
184 ibwsd.dll = 1\r
185 \r
186 [SourceDisksFiles.amd64]\r
187 ipoib.sys = 1\r
188 ibwsd.dll = 1\r
189 ibwsd32.dll = 1\r
190 \r
191 [SourceDisksFiles.ia64]\r
192 ipoib.sys = 1\r
193 ibwsd.dll = 1\r
194 ibwsd32.dll = 1\r
195 \r
196 [DestinationDirs]\r
197 IpoibCopyFiles    = %DIRID_DRIVERS%\r
198 WsdCopyFiles      = %DIRID_SYSTEM%\r
199 WOW64CopyFiles    = %DIRID_SYSTEM_X86%\r
200 DefaultDestDir    = %DIRID_SYSTEM%\r
201 \r
202 [Strings]\r
203 OPENIB               = "OpenIB Alliance"\r
204 IpoibDesc            = "OpenIB IPoIB Adapter"\r
205 IpoibServiceDispName = "IPoIB"\r
206 IcsDisk1             = "OpenIB IPoIB Disk #1"\r
207 DIRID_SYSTEM         = 11\r
208 DIRID_DRIVERS        = 12\r
209 DIRID_SYSTEM_X86     = 16425\r
210 REG_DWORD_NO_CLOBBER = 0x00010003\r