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