win-pvdrivers

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