Files
yttrium-virtio-gpu/NetKVM/Common/netkvm.mof
T
Yuri Benditovich 9b8524f399 netkvm: make description of RSC packets more clear
There are 2 types of RSC packets:
- coalesced packets received as host created them (whether
  received by the host NIC or built inside host from large
  offloaded payload), we label them as 'host' RSC
- coalesced packets with all RSC-related information that NDIS
  expects to receive, created by virtio-net device with qemu
  RSC patch and vhost=off, we label them as 'windows' RSC

Signed-off-by: Yuri Benditovich <[email protected]>
2016-12-15 14:08:28 +11:00

30 lines
884 B
Plaintext

// Declaration of NetKvm WMI OID
#pragma namespace("\\\\.\\root\\wmi")
#pragma classflags("forceupdate")
#pragma autorecover
[Dynamic : ToInstance, Provider("WMIProv"), WMI,
guid("{234E1FBF-37DC-4882-B01E-18F47CC0A40E}")]
class NetKvm_Logging : MSNdis
{
[key, read] string InstanceName;
[read] boolean Active;
[read,write,WmiDataId(1)] uint32 level;
};
[Dynamic : ToInstance, Provider("WMIProv"), WMI,
guid("{76EA6A8E-FD60-4F0E-B98D-22CDC8B99721}")]
class NetKvm_Statistics : MSNdis
{
[key, read] string InstanceName;
[read] boolean Active;
[read,write,WmiDataId(1)] uint32 rxCoalescedWin;
[read,write,WmiDataId(2)] uint32 rxCoalescedHost;
[read,write,WmiDataId(3)] uint32 rxChecksumOK;
[read,write,WmiDataId(4)] uint32 rxPriority;
[read,write,WmiDataId(5)] uint32 txLargeOffload;
[read,write,WmiDataId(6)] uint32 txChecksumOffload;
};