win-pvdrivers

view xennet/xennet.inx @ 1070:05ece536b204

Fix LSO bug on FIN packets. Add RxCoalesce option (default on) to work around Cisco VPN issues
author James Harper <james.harper@bendigoit.com.au>
date Wed Nov 13 07:56:13 2013 +1100 (2013-11-13)
parents 81f132396f9e
children
line source
1 [Version]
2 Signature="$WINDOWS NT$"
3 Class=Net
4 ClassGuid={4D36E972-E325-11CE-BFC1-08002BE10318}
5 Provider=%XenGplPv%
6 CatalogFile="xennet.cat"
8 [DestinationDirs]
9 DefaultDestDir = 12
11 [ControlFlags]
12 ExcludeFromSelect=*
14 [Manufacturer]
15 %XenGplPv%=XenGplPv,NT$ARCH$,NT$ARCH$.6.0
17 [XenGplPv.NT$ARCH$]
18 %XenNet.DRVDESC%=XenNet_Inst_NDIS5, XEN\VIF
20 [XenGplPv.NT$ARCH$.6.0]
21 %XenNet.DRVDESC%=XenNet_Inst_NDIS6, XEN\VIF
23 [XenGplPv]
24 %XenNet.DRVDESC%=XenNet_Inst_NDIS5, XEN\VIF
26 [XenNet_Inst_NDIS5]
27 CopyFiles=XenNet.CopyFiles
28 Characteristics = 0x81 ; NCF_VIRTUAL | NCF_HAS_UI
29 AddReg = XenNet_Reg, XenNet_Params_Common, XenNet_Params_NDIS5
30 *IfType = 6 ; Ethernet
31 *MediaType = 0 ; NdisMedium802_3
32 *PhysicalMediaType = 19 ; NdisPhysicalMediumOther
34 [XenNet_Inst_NDIS6]
35 CopyFiles=XenNet.CopyFiles
36 Characteristics = 0x81 ; NCF_VIRTUAL | NCF_HAS_UI
37 AddReg = XenNet_Reg, XenNet_Params_Common, XenNet_Params_NDIS6
38 *IfType = 6 ; Ethernet
39 *MediaType = 0 ; NdisMedium802_3
40 *PhysicalMediaType = 19 ; NdisPhysicalMediumOther
42 [XenNet_Reg]
43 HKR, Ndi, Service, 0, "XenNet"
44 HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
45 HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
47 [XenNet_Params_Common]
48 HKR, Ndi\Params\MTU, ParamDesc, , "MTU"
49 HKR, Ndi\Params\MTU, default, , "1500"
50 HKR, Ndi\Params\MTU, type, , "dword"
51 HKR, Ndi\Params\MTU, min, , "1500"
52 HKR, Ndi\Params\MTU, max, , "9000"
53 HKR, Ndi\Params\MTU, step, , "500"
54 HKR, Ndi\Params\MTU, base, , "10"
56 HKR, Ndi\Params\ChecksumOffload, ParamDesc, , "Checksum Offload"
57 HKR, Ndi\Params\ChecksumOffload, default, , "1"
58 HKR, Ndi\Params\ChecksumOffload, type, , "enum"
59 HKR, Ndi\Params\ChecksumOffload\enum, 0, , "Disabled"
60 HKR, Ndi\Params\ChecksumOffload\enum, 1, , "Enabled"
62 HKR, Ndi\Params\LargeSendOffload, ParamDesc, , "Large Send Offload"
63 HKR, Ndi\Params\LargeSendOffload, default, , "61440"
64 HKR, Ndi\Params\LargeSendOffload, type, , "enum"
65 HKR, Ndi\Params\LargeSendOffload\enum, 0, , "Disabled"
66 HKR, Ndi\Params\LargeSendOffload\enum, 8192, , "8192"
67 HKR, Ndi\Params\LargeSendOffload\enum, 16384, , "16384"
68 HKR, Ndi\Params\LargeSendOffload\enum, 32768, , "32768"
69 HKR, Ndi\Params\LargeSendOffload\enum, 61440, , "61440"
71 HKR, Ndi\Params\ScatterGather, ParamDesc, , "Scatter/Gather"
72 HKR, Ndi\Params\ScatterGather, default, , "1"
73 HKR, Ndi\Params\ScatterGather, type, , "enum"
74 HKR, Ndi\Params\ScatterGather\enum, 0, , "Disabled"
75 HKR, Ndi\Params\ScatterGather\enum, 1, , "Enabled"
77 HKR, Ndi\Params\RxCoalesce, ParamDesc, , "Rx Coalesce"
78 HKR, Ndi\Params\RxCoalesce, default, , "1"
79 HKR, Ndi\Params\RxCoalesce, type, , "enum"
80 HKR, Ndi\Params\RxCoalesce\enum, 0, , "Disabled"
81 HKR, Ndi\Params\RxCoalesce\enum, 1, , "Enabled"
83 HKR, Ndi\Params\NetworkAddress, ParamDesc, , "Locally Administered Address"
84 HKR, Ndi\Params\NetworkAddress, Type, , "edit"
85 HKR, Ndi\Params\NetworkAddress, LimitText, , "12"
86 HKR, Ndi\Params\NetworkAddress, UpperCase, , "1"
87 HKR, Ndi\Params\NetworkAddress, Default, , ""
88 HKR, Ndi\Params\NetworkAddress, Optional, , "1"
90 [XenNet_Params_NDIS5]
91 HKR, Ndi\Params\ChecksumOffloadRxCheck, ParamDesc, , "Check checksum on RX packets"
92 HKR, Ndi\Params\ChecksumOffloadRxCheck, default, , "1"
93 HKR, Ndi\Params\ChecksumOffloadRxCheck, type, , "enum"
94 HKR, Ndi\Params\ChecksumOffloadRxCheck\enum, 0, , "Disabled"
95 HKR, Ndi\Params\ChecksumOffloadRxCheck\enum, 1, , "Enabled"
97 HKR, Ndi\Params\ChecksumOffloadDontFix, ParamDesc, , "Dont fix the blank checksum on offloaded RX packets"
98 HKR, Ndi\Params\ChecksumOffloadDontFix, default, , "0"
99 HKR, Ndi\Params\ChecksumOffloadDontFix, type, , "enum"
100 HKR, Ndi\Params\ChecksumOffloadDontFix\enum, 0, , "Disabled"
101 HKR, Ndi\Params\ChecksumOffloadDontFix\enum, 1, , "Enabled"
103 [XenNet_Params_NDIS6]
104 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU, ParamDesc, , "Allow received packets larger than MTU"
105 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU, default, , "1"
106 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU, type, , "enum"
107 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU\enum, 0, , "Disabled (Limit to MSS)"
108 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU\enum, 1, , "Half (Split packet in half)"
109 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU\enum, 2, , "Enabled (Full packet)"
111 ;HKR, Ndi\Params\RxInterruptModeration, ParamDesc, , "Rx Interrupt Moderation (beta)"
112 ;HKR, Ndi\Params\RxInterruptModeration, default, , "0"
113 ;HKR, Ndi\Params\RxInterruptModeration, type, , "enum"
114 ;HKR, Ndi\Params\RxInterruptModeration\enum, 0, , "Disabled"
115 ;HKR, Ndi\Params\RxInterruptModeration\enum, 1, , "Enabled"
117 [XenNet.CopyFiles]
118 xennet.sys,,0x00001000 ; COPYFLG_REPLACE_BOOT_FILE
120 [SourceDisksFiles]
121 xennet.sys=1
123 [SourceDisksNames]
124 1 = %DISK_NAME%
126 [XenNet_Inst_NDIS5.Services]
127 AddService=XenNet,2,XenNet_Service
129 [XenNet_Inst_NDIS6.Services]
130 AddService=XenNet,2,XenNet_Service
132 [XenNet_Service]
133 DisplayName = %XenNet.SVCDESC%
134 ServiceType = 1
135 StartType = 3
136 ErrorControl = 1
137 LoadOrderGroup = NDIS
138 ServiceBinary = %12%\xennet.sys
139 AddReg = XenNet_Service_AddReg
141 [XenNet_Service_AddReg]
142 ; 5 = PciBus, 0 = Internal, 15 = PnpBus
143 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
144 ; hide Qemu Network in XenPCI
145 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "#vif#"
146 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "VEN_10EC&DEV_8139"
147 ; tell Qemu to hide stuff
148 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "qemu_hide_flags", 0x00010008, %QEMU_UNPLUG_ALL_NICS%
150 [Strings]
151 XenGplPv = "Xen GPL PV Driver Developers"
152 XenNet.SVCDESC = "Xen Net Device Driver"
153 XenNet.DRVDESC = "Xen Net Device Driver"
154 DISK_NAME = "Xen Net Device Driver Install Disk"
155 QEMU_UNPLUG_ALL_IDE_DISKS = 1
156 QEMU_UNPLUG_ALL_NICS = 2
157 QEMU_UNPLUG_AUX_IDE_DISKS = 4