search for: commoncfg

Displaying 8 results from an estimated 8 matches for "commoncfg".

Did you mean: common_cfg
2015 Jan 21
2
[pciutils patch v2] add virtio vendor capability support
...id +show_vendor_caps_virtio(struct device *d, int where, int cap) +{ + int length = BITS(cap, 0, 8); + int type = BITS(cap, 8, 8); + char *tname; + + if (length < 16) + return; + if (!config_fetch(d, where, length)) + return; + + switch (type) + { + case 1: + tname = "CommonCfg"; + break; + case 2: + tname = "Notify"; + break; + case 3: + tname = "ISR"; + break; + case 4: + tname = "DeviceCfg"; + break; + default: + tname = "<unknown>"; + break; + } + + printf(&...
2015 Jan 21
2
[pciutils patch v2] add virtio vendor capability support
...id +show_vendor_caps_virtio(struct device *d, int where, int cap) +{ + int length = BITS(cap, 0, 8); + int type = BITS(cap, 8, 8); + char *tname; + + if (length < 16) + return; + if (!config_fetch(d, where, length)) + return; + + switch (type) + { + case 1: + tname = "CommonCfg"; + break; + case 2: + tname = "Notify"; + break; + case 3: + tname = "ISR"; + break; + case 4: + tname = "DeviceCfg"; + break; + default: + tname = "<unknown>"; + break; + } + + printf(&...
2015 Jan 22
0
[pciutils patch v2] add virtio vendor capability support
...0 PBA: BAR=1 offset=00000800 Capabilities: [70] VirtIO: Notify BAR=2 offset=00003000 size=00040000 multiplier=00001000 Capabilities: [60] VirtIO: DeviceCfg BAR=2 offset=00002000 size=00001000 Capabilities: [50] VirtIO: ISR BAR=2 offset=00001000 size=00001000 Capabilities: [40] VirtIO: CommonCfg BAR=2 offset=00000000 size=00001000 Kernel driver in use: virtio-pci 00: f4 1a 00 10 07 05 10 00 00 00 00 02 00 00 00 00 10: 61 c0 00 00 00 60 bd fe 00 00 a0 fe 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 f4 1a 01 00 30: 00 00 b8 fe 84 00 00 00 00 00 00 00 0a 01 00 00 40: 09 00 10 01 02...
2015 Jan 22
0
[pciutils patch v2] add virtio vendor capability support
...0 PBA: BAR=1 offset=00000800 Capabilities: [70] VirtIO: Notify BAR=2 offset=00003000 size=00040000 multiplier=00001000 Capabilities: [60] VirtIO: DeviceCfg BAR=2 offset=00002000 size=00001000 Capabilities: [50] VirtIO: ISR BAR=2 offset=00001000 size=00001000 Capabilities: [40] VirtIO: CommonCfg BAR=2 offset=00000000 size=00001000 Kernel driver in use: virtio-pci 00: f4 1a 00 10 07 05 10 00 00 00 00 02 00 00 00 00 10: 61 c0 00 00 00 60 bd fe 00 00 a0 fe 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 f4 1a 01 00 30: 00 00 b8 fe 84 00 00 00 00 00 00 00 0a 01 00 00 40: 09 00 10 01 02...
2015 Jan 21
2
[pciutils patch] add virtio vendor capability support
...ot; + +void +show_vendor_caps_virtio(struct device *d, int where, int cap) +{ + int length = BITS(cap, 0, 8); + int type = BITS(cap, 8, 8); + char *tname; + + if (length < 16) + return; + if (!config_fetch(d, where, length)) + return; + + switch (type) { + case 1: + tname = "CommonCfg"; + break; + case 2: + tname = "Notify"; + break; + case 3: + tname = "ISR"; + break; + case 4: + tname = "DeviceCfg"; + break; + default: + tname = "<unknown>"; + break; + } + + printf("VirtIO: %s\n", tna...
2015 Jan 21
2
[pciutils patch] add virtio vendor capability support
...ot; + +void +show_vendor_caps_virtio(struct device *d, int where, int cap) +{ + int length = BITS(cap, 0, 8); + int type = BITS(cap, 8, 8); + char *tname; + + if (length < 16) + return; + if (!config_fetch(d, where, length)) + return; + + switch (type) { + case 1: + tname = "CommonCfg"; + break; + case 2: + tname = "Notify"; + break; + case 3: + tname = "ISR"; + break; + case 4: + tname = "DeviceCfg"; + break; + default: + tname = "<unknown>"; + break; + } + + printf("VirtIO: %s\n", tna...
2015 Jan 19
3
[PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support
Hi, > BTW: is there a tool (or pciutils patch) which can decode the virtio > capabilities? Searched for a patch today, and all google found me was this mail asking for one :-o So I went ahead and coded one up. Attached. While hacking it up I've noticed spec doesn't match reality. The "Virtio Structure PCI Capabilities" section here ...
2015 Jan 19
3
[PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support
Hi, > BTW: is there a tool (or pciutils patch) which can decode the virtio > capabilities? Searched for a patch today, and all google found me was this mail asking for one :-o So I went ahead and coded one up. Attached. While hacking it up I've noticed spec doesn't match reality. The "Virtio Structure PCI Capabilities" section here ...