search for: _device_table

Displaying 6 results from an estimated 6 matches for "_device_table".

2019 Oct 23
2
[PATCH V5 2/6] modpost: add support for mdev class id
...rs/vfio/mdev/vfio_mdev.c b/drivers/vfio/mdev/vfio_mdev.c > index 7b24ee9cb8dd..cb701cd646f0 100644 > --- a/drivers/vfio/mdev/vfio_mdev.c > +++ b/drivers/vfio/mdev/vfio_mdev.c > @@ -125,6 +125,8 @@ static const struct mdev_class_id id_table[] = { > { 0 }, > }; > > +MODULE_DEVICE_TABLE(mdev, id_table); > + Two questions, first we have: #define MODULE_DEVICE_TABLE(type, name) \ extern typeof(name) __mod_##type##__##name##_device_table \ __attribute__ ((unused, alias(__stringify(name)))) Therefore we're defining __mod_mdev__...
2019 Oct 23
2
[PATCH V5 2/6] modpost: add support for mdev class id
...rs/vfio/mdev/vfio_mdev.c b/drivers/vfio/mdev/vfio_mdev.c > index 7b24ee9cb8dd..cb701cd646f0 100644 > --- a/drivers/vfio/mdev/vfio_mdev.c > +++ b/drivers/vfio/mdev/vfio_mdev.c > @@ -125,6 +125,8 @@ static const struct mdev_class_id id_table[] = { > { 0 }, > }; > > +MODULE_DEVICE_TABLE(mdev, id_table); > + Two questions, first we have: #define MODULE_DEVICE_TABLE(type, name) \ extern typeof(name) __mod_##type##__##name##_device_table \ __attribute__ ((unused, alias(__stringify(name)))) Therefore we're defining __mod_mdev__...
2019 Oct 24
1
[PATCH V5 2/6] modpost: add support for mdev class id
...x 7b24ee9cb8dd..cb701cd646f0 100644 > >> --- a/drivers/vfio/mdev/vfio_mdev.c > >> +++ b/drivers/vfio/mdev/vfio_mdev.c > >> @@ -125,6 +125,8 @@ static const struct mdev_class_id id_table[] = { > >> { 0 }, > >> }; > >> > >> +MODULE_DEVICE_TABLE(mdev, id_table); > >> + > > Two questions, first we have: > > > > #define MODULE_DEVICE_TABLE(type, name) \ > > extern typeof(name) __mod_##type##__##name##_device_table \ > > __attribute__ ((unused, alias(__s...
2019 Oct 24
0
[PATCH V5 2/6] modpost: add support for mdev class id
...vfio/mdev/vfio_mdev.c >> index 7b24ee9cb8dd..cb701cd646f0 100644 >> --- a/drivers/vfio/mdev/vfio_mdev.c >> +++ b/drivers/vfio/mdev/vfio_mdev.c >> @@ -125,6 +125,8 @@ static const struct mdev_class_id id_table[] = { >> { 0 }, >> }; >> >> +MODULE_DEVICE_TABLE(mdev, id_table); >> + > Two questions, first we have: > > #define MODULE_DEVICE_TABLE(type, name) \ > extern typeof(name) __mod_##type##__##name##_device_table \ > __attribute__ ((unused, alias(__stringify(name)))) > > Ther...
2019 Oct 23
10
[PATCH V5 0/6] mdev based hardware virtio offloading support
Hi all: There are hardwares that can do virtio datapath offloading while having its own control path. This path tries to implement a mdev based unified API to support using kernel virtio driver to drive those devices. This is done by introducing a new mdev transport for virtio (virtio_mdev) and register itself as a new kind of mdev driver. Then it provides a unified way for kernel virtio driver
2019 Oct 23
10
[PATCH V5 0/6] mdev based hardware virtio offloading support
Hi all: There are hardwares that can do virtio datapath offloading while having its own control path. This path tries to implement a mdev based unified API to support using kernel virtio driver to drive those devices. This is done by introducing a new mdev transport for virtio (virtio_mdev) and register itself as a new kind of mdev driver. Then it provides a unified way for kernel virtio driver