search for: rid_show

Displaying 5 results from an estimated 5 matches for "rid_show".

2008 Sep 27
0
[PATCH 4/9] dom0 PCI: support SR-IOV capability
...int vfn; + struct vf_entry *ve = container_of(kobj, struct vf_entry, kobj); + + vfn = attr - ve->attr; + sscanf(buf, "%63s", ve->param[vfn]); + ve->iov->notify(ve->iov->dev, vfn | PCI_IOV_WR_CONF); + + return count; +} + +static ssize_t rid_show(struct kobject *kobj, struct iov_attr *attr, + char *buf) +{ + u8 busnr, devfn; + struct vf_entry *ve = container_of(kobj, struct vf_entry, kobj); + + vf_rid(ve->iov->dev, ve->vfn, &busnr, &devfn); + + return sprintf(buf, "...
2008 Sep 27
3
[PATCH 4/6 v3] PCI: support SR-IOV capability
...int vfn; + struct vf_entry *ve = container_of(kobj, struct vf_entry, kobj); + + vfn = attr - ve->attr; + sscanf(buf, "%63s", ve->param[vfn]); + ve->iov->notify(ve->iov->dev, vfn | PCI_IOV_WR_CONF); + + return count; +} + +static ssize_t rid_show(struct kobject *kobj, struct iov_attr *attr, + char *buf) +{ + u8 busnr, devfn; + struct vf_entry *ve = container_of(kobj, struct vf_entry, kobj); + + vf_rid(ve->iov->dev, ve->vfn, &busnr, &devfn); + + return sprintf(buf, "...
2008 Sep 27
3
[PATCH 4/6 v3] PCI: support SR-IOV capability
...int vfn; + struct vf_entry *ve = container_of(kobj, struct vf_entry, kobj); + + vfn = attr - ve->attr; + sscanf(buf, "%63s", ve->param[vfn]); + ve->iov->notify(ve->iov->dev, vfn | PCI_IOV_WR_CONF); + + return count; +} + +static ssize_t rid_show(struct kobject *kobj, struct iov_attr *attr, + char *buf) +{ + u8 busnr, devfn; + struct vf_entry *ve = container_of(kobj, struct vf_entry, kobj); + + vf_rid(ve->iov->dev, ve->vfn, &busnr, &devfn); + + return sprintf(buf, "...
2008 Oct 14
8
[PATCH 0/8 v4] PCI: Linux kernel SR-IOV support
Greetings, Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which will benefit KVM and achieve other purposes such as QoS, security, and etc. [PATCH 1/8 v4] PCI: define PCI resource names in a 'enum' [PATCH 2/8 v4] PCI: export __pci_read_base
2008 Oct 14
8
[PATCH 0/8 v4] PCI: Linux kernel SR-IOV support
Greetings, Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which will benefit KVM and achieve other purposes such as QoS, security, and etc. [PATCH 1/8 v4] PCI: define PCI resource names in a 'enum' [PATCH 2/8 v4] PCI: export __pci_read_base