Fixing issue no. 1159 in bugzilla (mlnx: 3111)
[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, "0"\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, "1"\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 (if supported by HW)"\r
102 HKR, Ndi\Params\SendChksum\enum,        "2",    0, "Bypass"\r
103 \r
104 HKR, Ndi\Params\RecvChksum,             ParamDesc,      0, "Recv Checksum Offload"\r
105 HKR, Ndi\Params\RecvChksum,             Type,           0, "enum"\r
106 HKR, Ndi\Params\RecvChksum,             Default,        0, "1"\r
107 HKR, Ndi\Params\RecvChksum,             Optional,       0, "0"\r
108 HKR, Ndi\Params\RecvChksum\enum,        "0",    0, "Disabled"\r
109 HKR, Ndi\Params\RecvChksum\enum,        "1",    0, "Enabled (if supported by HW)"\r
110 HKR, Ndi\Params\RecvChksum\enum,        "2",    0, "Bypass"\r
111 \r
112 HKR, Ndi\Params\lso,            ParamDesc,      0, "Large Send Offload"\r
113 HKR, Ndi\Params\lso,            Type,           0, "enum"\r
114 HKR, Ndi\Params\lso,            Default,        0, "0"\r
115 HKR, Ndi\Params\lso,            Optional,       0, "0"\r
116 HKR, Ndi\Params\lso\enum,       "0",    0, "Disabled"\r
117 HKR, Ndi\Params\lso\enum,       "1",    0, "Enabled"\r
118 \r
119 \r
120 HKR, Ndi\Params\SaTimeout,              ParamDesc,      0, "SA Query Timeout (ms)"\r
121 HKR, Ndi\Params\SaTimeout,              Type,           0, "dword"\r
122 HKR, Ndi\Params\SaTimeout,              Default,        0, "1000"\r
123 HKR, Ndi\Params\SaTimeout,              Optional,       0, "0"\r
124 HKR, Ndi\Params\SaTimeout,              Min,            0, "500"\r
125 HKR, Ndi\Params\SaTimeout,              Step,           0, "250"\r
126 \r
127 HKR, Ndi\Params\SaRetries,              ParamDesc,      0, "SA Query Retry Count"\r
128 HKR, Ndi\Params\SaRetries,              Type,           0, "dword"\r
129 HKR, Ndi\Params\SaRetries,              Default,        0, "10"\r
130 HKR, Ndi\Params\SaRetries,              Optional,       0, "0"\r
131 HKR, Ndi\Params\SaRetries,              Min,            0, "1"\r
132 \r
133 HKR, Ndi\Params\RecvRatio,              ParamDesc,      0, "Receive Pool Ratio"\r
134 HKR, Ndi\Params\RecvRatio,              Type,           0, "dword"\r
135 HKR, Ndi\Params\RecvRatio,              Default,        0, "1"\r
136 HKR, Ndi\Params\RecvRatio,              Optional,       0, "0"\r
137 HKR, Ndi\Params\RecvRatio,              Min,            0, "1"\r
138 HKR, Ndi\Params\RecvRatio,              Max,            0, "10"\r
139 \r
140 HKR, Ndi\Params\PayloadMtu,             ParamDesc,      0, "Payload Mtu size"\r
141 HKR, Ndi\Params\PayloadMtu,             Type,           0, "dword"\r
142 HKR, Ndi\Params\PayloadMtu,             Default,        0, "2044"\r
143 HKR, Ndi\Params\PayloadMtu,             Min,            0, "60"\r
144 HKR, Ndi\Params\PayloadMtu,             Max,            0, "4092"\r
145 \r
146 \r
147 HKR, Ndi\Params\MCLeaveRescan,          ParamDesc,      0, "MC leave rescan (sec)"\r
148 HKR, Ndi\Params\MCLeaveRescan,          Type,           0, "dword"\r
149 HKR, Ndi\Params\MCLeaveRescan,          Default,        0, "260"\r
150 HKR, Ndi\Params\MCLeaveRescan,          Optional,       0, "0"\r
151 HKR, Ndi\Params\MCLeaveRescan,          Min,            0, "1"\r
152 HKR, Ndi\Params\MCLeaveRescan,          Max,            0, "3600"\r
153 \r
154 \r
155 [IpoibService]\r
156 DisplayName     = %IpoibServiceDispName%\r
157 ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%\r
158 StartType       = 3 ;%SERVICE_DEMAND_START%\r
159 ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%\r
160 ServiceBinary   = %12%\ipoib.sys\r
161 LoadOrderGroup  = NDIS\r
162 AddReg          = Ipoib.ParamsReg\r
163 \r
164 [Ipoib.ParamsReg]\r
165 HKR,"Parameters","DebugLevel",%REG_DWORD_NO_CLOBBER%,0x00000002\r
166 HKR,"Parameters","DebugFlags",%REG_DWORD_NO_CLOBBER%,0x00000fff\r
167 HKR,"Parameters","bypass_check_bcast_rate",%REG_DWORD_NO_CLOBBER%,0x00000000\r
168 \r
169 [IpoibEventLog]\r
170 AddReg = IpoibAddEventLogReg\r
171 \r
172 [IpoibAddEventLogReg]\r
173 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll;%%SystemRoot%%\System32\drivers\ipoib.sys"\r
174 HKR, , TypesSupported,   0x00010001, 7\r
175 \r
176 \r
177 [IpoibCopyFiles]\r
178 ipoib.sys,,,2\r
179 \r
180 [WsdCopyFiles]\r
181 ibwsd.dll,,,0x00000002\r
182 \r
183 [NdCopyFiles]\r
184 ibndprov.dll,,,0x00000002\r
185 ndinstall.exe,,,0x00000002\r
186 \r
187 [WOW64CopyFiles]\r
188 ibwsd.dll,ibwsd32.dll,,0x00000002\r
189 ibndprov.dll,ibndprov32.dll,,0x00000002\r
190 \r
191 [SourceDisksNames.x86]\r
192 1 = %IcsDisk1%,,,""\r
193 \r
194 [SourceDisksNames.amd64]\r
195 1 = %IcsDisk1%,,,""\r
196 \r
197 [SourceDisksNames.ia64]\r
198 1 = %IcsDisk1%,,,""\r
199 \r
200 [SourceDisksFiles.x86]\r
201 ipoib.sys = 1\r
202 ibwsd.dll = 1\r
203 ibndprov.dll = 1\r
204 ndinstall.exe = 1\r
205 \r
206 [SourceDisksFiles.amd64]\r
207 ipoib.sys = 1\r
208 ibwsd.dll = 1\r
209 ibwsd32.dll = 1\r
210 ibndprov.dll = 1\r
211 ibndprov32.dll = 1\r
212 ndinstall.exe = 1\r
213 \r
214 [SourceDisksFiles.ia64]\r
215 ipoib.sys = 1\r
216 ibwsd.dll = 1\r
217 ibwsd32.dll = 1\r
218 ibndprov.dll = 1\r
219 ibndprov32.dll = 1\r
220 ndinstall.exe = 1\r
221 \r
222 [DestinationDirs]\r
223 IpoibCopyFiles    = %DIRID_DRIVERS%\r
224 WsdCopyFiles      = %DIRID_SYSTEM%\r
225 NdCopyFiles       = %DIRID_SYSTEM%\r
226 WOW64CopyFiles    = %DIRID_SYSTEM_X86%\r
227 DefaultDestDir    = %DIRID_SYSTEM%\r
228 \r
229 [Strings]\r
230 OPENIB               = "OpenIB Alliance"\r
231 IpoibDesc            = "OpenIB IPoIB Adapter"\r
232 IpoibDescP           = "OpenIB IPoIB Adapter Partition"\r
233 IpoibServiceDispName = "IPoIB"\r
234 IcsDisk1             = "OpenIB IPoIB Disk #1"\r
235 DIRID_SYSTEM         = 11\r
236 DIRID_DRIVERS        = 12\r
237 DIRID_SYSTEM_X86     = 16425\r
238 REG_DWORD            = 0x00010001\r
239 REG_DWORD_NO_CLOBBER = 0x00010003\r