search for: ifcvf_vendor_id

Displaying 14 results from an estimated 14 matches for "ifcvf_vendor_id".

2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
On 2020/6/8 ??2:32, Michael S. Tsirkin wrote: > On Mon, Jun 08, 2020 at 11:32:31AM +0800, Jason Wang wrote: >> On 2020/6/7 ??9:51, Michael S. Tsirkin wrote: >>> On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: >>>> On 2020/6/2 ??3:08, Jason Wang wrote: >>>>>>> +static const struct pci_device_id vp_vdpa_id_table[] = {
2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
On 2020/6/8 ??2:32, Michael S. Tsirkin wrote: > On Mon, Jun 08, 2020 at 11:32:31AM +0800, Jason Wang wrote: >> On 2020/6/7 ??9:51, Michael S. Tsirkin wrote: >>> On Fri, Jun 05, 2020 at 04:54:17PM +0800, Jason Wang wrote: >>>> On 2020/6/2 ??3:08, Jason Wang wrote: >>>>>>> +static const struct pci_device_id vp_vdpa_id_table[] = {
2020 Jun 08
0
[PATCH 5/6] vdpa: introduce virtio pci driver
...> > Then regular virtio will still bind to it. It has > > > > drivers/virtio/virtio_pci_common.c: { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, > > > > > > IFCVF use this to avoid the binding to regular virtio device. Ow. Indeed: #define IFCVF_VENDOR_ID 0x1AF4 Which is of course not an IFCVF vendor id, it's the Red Hat vendor ID. I missed that. Does it actually work if you bind a virtio driver to it? I'm guessing no otherwise they wouldn't need IFC driver, right? > Looking at > pci_match_one_device() it checks both...
2019 Oct 16
0
[RFC 2/2] vhost: IFC VF vdpa layer
...ion(struct mdev_device *mdev) > +{ > + return VIRTIO_MDEV_VERSION; > +} > + > +static u32 ifcvf_mdev_get_device_id(struct mdev_device *mdev) > +{ > + return IFCVF_DEVICE_ID; > +} > + > +static u32 ifcvf_mdev_get_vendor_id(struct mdev_device *mdev) > +{ > + return IFCVF_VENDOR_ID; > +} > + > +static u16 ifcvf_mdev_get_vq_align(struct mdev_device *mdev) > +{ > + return IFCVF_QUEUE_ALIGNMENT; > +} > + > +static int ifcvf_start_datapath(void *private) > +{ > + int i, ret; > + struct ifcvf_hw *vf = IFC_PRIVATE_TO_VF(private); > + > + for (...
2019 Nov 06
0
[PATCH 2/2] IFC VDPA layer
...gt; + > + return ioread8(&vf->common_cfg->config_generation); > +} > + > +static u32 ifcvf_mdev_get_device_id(struct mdev_device *mdev) > +{ > + return VIRTIO_ID_NET; > +} > + > +static u32 ifcvf_mdev_get_vendor_id(struct mdev_device *mdev) > +{ > + return IFCVF_VENDOR_ID; > +} > + > +static u16 ifcvf_mdev_get_vq_align(struct mdev_device *mdev) > +{ > + return IFCVF_QUEUE_ALIGNMENT; > +} > + > +static u64 ifcvf_mdev_get_mdev_features(struct mdev_device *mdev) > +{ > + return VIRTIO_MDEV_F_VERSION_1; > +} We've decide to remove t...
2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
...virtio will still bind to it. It has >>> >>> drivers/virtio/virtio_pci_common.c: { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>> >>> >> IFCVF use this to avoid the binding to regular virtio device. > > Ow. Indeed: > > #define IFCVF_VENDOR_ID 0x1AF4 > > Which is of course not an IFCVF vendor id, it's the Red Hat vendor ID. > > I missed that. > > Does it actually work if you bind a virtio driver to it? It works. > I'm guessing no otherwise they wouldn't need IFC driver, right? > Looking at...
2020 Jun 08
2
[PATCH 5/6] vdpa: introduce virtio pci driver
...virtio will still bind to it. It has >>> >>> drivers/virtio/virtio_pci_common.c: { PCI_DEVICE(PCI_VENDOR_ID_REDHAT_QUMRANET, PCI_ANY_ID) }, >>> >>> >> IFCVF use this to avoid the binding to regular virtio device. > > Ow. Indeed: > > #define IFCVF_VENDOR_ID 0x1AF4 > > Which is of course not an IFCVF vendor id, it's the Red Hat vendor ID. > > I missed that. > > Does it actually work if you bind a virtio driver to it? It works. > I'm guessing no otherwise they wouldn't need IFC driver, right? > Looking at...
2019 Nov 08
0
[PATCH 1/2] IFC hardware operation layer
...x/virtio_mdev_ops.h> > +#include <linux/mdev.h> > +#include <linux/pci.h> > +#include <linux/pci_regs.h> > +#include <uapi/linux/virtio_net.h> > +#include <uapi/linux/virtio_config.h> > +#include <uapi/linux/virtio_pci.h> > + > +#define IFCVF_VENDOR_ID 0x1AF4 > +#define IFCVF_DEVICE_ID 0x1041 > +#define IFCVF_SUBSYS_VENDOR_ID 0x8086 > +#define IFCVF_SUBSYS_DEVICE_ID 0x001A > + > +#define IFCVF_MDEV_LIMIT 1 > + > +/* > + * Some ifcvf feature bits (currently bits 28 through 31) are > + * reserved for the...
2019 Nov 05
1
[PATCH 1/2] IFC hardware operation layer
...x/virtio_mdev_ops.h> > +#include <linux/mdev.h> > +#include <linux/pci.h> > +#include <linux/pci_regs.h> > +#include <uapi/linux/virtio_net.h> > +#include <uapi/linux/virtio_config.h> > +#include <uapi/linux/virtio_pci.h> > + > +#define IFCVF_VENDOR_ID 0x1AF4 > +#define IFCVF_DEVICE_ID 0x1041 > +#define IFCVF_SUBSYS_VENDOR_ID 0x8086 > +#define IFCVF_SUBSYS_DEVICE_ID 0x001A > + > +#define IFCVF_MDEV_LIMIT 1 > + > +/* > + * Some ifcvf feature bits (currently bits 28 through 31) are > + * reserved for the...
2019 Oct 21
0
[RFC 2/2] vhost: IFC VF vdpa layer
...+} >>> + >>> +static u32 ifcvf_mdev_get_device_id(struct mdev_device *mdev) >>> +{ >>> +??? return IFCVF_DEVICE_ID; >>> +} >>> + >>> +static u32 ifcvf_mdev_get_vendor_id(struct mdev_device *mdev) >>> +{ >>> +??? return IFCVF_VENDOR_ID; >>> +} >>> + >>> +static u16 ifcvf_mdev_get_vq_align(struct mdev_device *mdev) >>> +{ >>> +??? return IFCVF_QUEUE_ALIGNMENT; >>> +} >>> + >>> +static int ifcvf_start_datapath(void *private) >>> +{ >>> +??? in...
2019 Nov 05
0
[PATCH 1/2] IFC hardware operation layer
...x/virtio_mdev_ops.h> > +#include <linux/mdev.h> > +#include <linux/pci.h> > +#include <linux/pci_regs.h> > +#include <uapi/linux/virtio_net.h> > +#include <uapi/linux/virtio_config.h> > +#include <uapi/linux/virtio_pci.h> > + > +#define IFCVF_VENDOR_ID 0x1AF4 > +#define IFCVF_DEVICE_ID 0x1041 I am confused by the above. They are used by the virtio layer right? So why isn't the id VIRTIO_ID_NET then? > +#define IFCVF_SUBSYS_VENDOR_ID 0x8086 > +#define IFCVF_SUBSYS_DEVICE_ID 0x001A > + > +#define IFCVF_MDEV...
2019 Nov 06
0
[PATCH 1/2] IFC hardware operation layer
...x/virtio_mdev_ops.h> > +#include <linux/mdev.h> > +#include <linux/pci.h> > +#include <linux/pci_regs.h> > +#include <uapi/linux/virtio_net.h> > +#include <uapi/linux/virtio_config.h> > +#include <uapi/linux/virtio_pci.h> > + > +#define IFCVF_VENDOR_ID 0x1AF4 > +#define IFCVF_DEVICE_ID 0x1041 > +#define IFCVF_SUBSYS_VENDOR_ID 0x8086 > +#define IFCVF_SUBSYS_DEVICE_ID 0x001A > + > +#define IFCVF_MDEV_LIMIT 1 > + > +/* > + * Some ifcvf feature bits (currently bits 28 through 31) are > + * reserved for the...
2019 Oct 16
0
[RFC 1/2] vhost: IFC VF hardware operation layer
..._IFCVF_H_ > + > +#include <linux/virtio_mdev.h> > +#include <linux/pci.h> > +#include <linux/pci_regs.h> > +#include <uapi/linux/virtio_net.h> > +#include <uapi/linux/virtio_config.h> > +#include <uapi/linux/virtio_pci.h> > + > +#define IFCVF_VENDOR_ID 0x1AF4 > +#define IFCVF_DEVICE_ID 0x1041 > +#define IFCVF_SUBSYS_VENDOR_ID 0x8086 > +#define IFCVF_SUBSYS_DEVICE_ID 0x001A > + > +/* > + * Some ifcvf feature bits (currently bits 28 through 31) are > + * reserved for the transport being used (eg. ifcvf_ring),...
2019 Oct 21
0
[RFC 1/2] vhost: IFC VF hardware operation layer
...gt; >>> +#include <linux/pci.h> >>> +#include <linux/pci_regs.h> >>> +#include <uapi/linux/virtio_net.h> >>> +#include <uapi/linux/virtio_config.h> >>> +#include <uapi/linux/virtio_pci.h> >>> + >>> +#define IFCVF_VENDOR_ID???????? 0x1AF4 >>> +#define IFCVF_DEVICE_ID???????? 0x1041 >>> +#define IFCVF_SUBSYS_VENDOR_ID? 0x8086 >>> +#define IFCVF_SUBSYS_DEVICE_ID? 0x001A >>> + >>> +/* >>> + * Some ifcvf feature bits (currently bits 28 through 31) are >>> + *...