Messages in this thread | | | Subject | Re: [PATCH 5/6] vdpa: introduce virtio pci driver | From | Jason Wang <> | Date | Fri, 5 Jun 2020 16:54:17 +0800 |
| |
On 2020/6/2 下午3:08, Jason Wang wrote: >> >>> +static const struct pci_device_id vp_vdpa_id_table[] = { >>> + { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>> + { 0 } >>> +}; >> This looks like it'll create a mess with either virtio pci >> or vdpa being loaded at random. Maybe just don't specify >> any IDs for now. Down the road we could get a >> distinct vendor ID or a range of device IDs for this. > > > Right, will do. > > Thanks
Rethink about this. If we don't specify any ID, the binding won't work.
How about using a dedicated subsystem vendor id for this?
Thanks
| |