Displaying 18 results from an estimated 18 matches for "3414307311f1".
2019 Sep 24
3
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...gt; ---
> include/linux/mdev.h | 2 +
> include/linux/virtio_mdev.h | 145 ++++++++++++++++++++++++++++++++++++
> 2 files changed, 147 insertions(+)
> create mode 100644 include/linux/virtio_mdev.h
>
> diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> index 3414307311f1..73ac27b3b868 100644
> --- a/include/linux/mdev.h
> +++ b/include/linux/mdev.h
> @@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct device *dev);
>
> enum {
> MDEV_ID_VFIO = 1,
> + MDEV_ID_VIRTIO = 2,
> + MDEV_ID_VHOST = 3,
MDEV_ID_VHOST isn't used yet he...
2019 Sep 25
3
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...--
> include/linux/mdev.h | 2 +
> include/linux/virtio_mdev.h | 145
> ++++++++++++++++++++++++++++++++++++
> 2 files changed, 147 insertions(+)
> create mode 100644 include/linux/virtio_mdev.h
>
> diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> index 3414307311f1..73ac27b3b868 100644
> --- a/include/linux/mdev.h
> +++ b/include/linux/mdev.h
> @@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct device
> *dev);
>
> enum {
> MDEV_ID_VFIO = 1,
> + MDEV_ID_VIRTIO = 2,
> + MDEV_ID_VHOST = 3,
> /* New entries must be ad...
2019 Sep 25
3
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...--
> include/linux/mdev.h | 2 +
> include/linux/virtio_mdev.h | 145
> ++++++++++++++++++++++++++++++++++++
> 2 files changed, 147 insertions(+)
> create mode 100644 include/linux/virtio_mdev.h
>
> diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> index 3414307311f1..73ac27b3b868 100644
> --- a/include/linux/mdev.h
> +++ b/include/linux/mdev.h
> @@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct device
> *dev);
>
> enum {
> MDEV_ID_VFIO = 1,
> + MDEV_ID_VIRTIO = 2,
> + MDEV_ID_VHOST = 3,
> /* New entries must be ad...
2019 Sep 25
2
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...ux/virtio_mdev.h | 145
> > > ++++++++++++++++++++++++++++++++++++
> > > 2 files changed, 147 insertions(+)
> > > create mode 100644 include/linux/virtio_mdev.h
> > >
> > > diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> > > index 3414307311f1..73ac27b3b868 100644
> > > --- a/include/linux/mdev.h
> > > +++ b/include/linux/mdev.h
> > > @@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct device
> > > *dev);
> > >
> > > enum {
> > > MDEV_ID_VFIO = 1,
> > >...
2019 Sep 25
2
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...ux/virtio_mdev.h | 145
> > > ++++++++++++++++++++++++++++++++++++
> > > 2 files changed, 147 insertions(+)
> > > create mode 100644 include/linux/virtio_mdev.h
> > >
> > > diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> > > index 3414307311f1..73ac27b3b868 100644
> > > --- a/include/linux/mdev.h
> > > +++ b/include/linux/mdev.h
> > > @@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct device
> > > *dev);
> > >
> > > enum {
> > > MDEV_ID_VFIO = 1,
> > >...
2019 Sep 30
0
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...linux/virtio_mdev.h | 145
> > > ++++++++++++++++++++++++++++++++++++
> > > 2 files changed, 147 insertions(+)
> > > create mode 100644 include/linux/virtio_mdev.h
> > >
> > > diff --git a/include/linux/mdev.h b/include/linux/mdev.h index
> > > 3414307311f1..73ac27b3b868 100644
> > > --- a/include/linux/mdev.h
> > > +++ b/include/linux/mdev.h
> > > @@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct device
> > > *dev);
> > >
> > > enum {
> > > MDEV_ID_VFIO = 1,
> > > +...
2019 Sep 24
0
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...on Wang <jasowang at redhat.com>
---
include/linux/mdev.h | 2 +
include/linux/virtio_mdev.h | 145 ++++++++++++++++++++++++++++++++++++
2 files changed, 147 insertions(+)
create mode 100644 include/linux/virtio_mdev.h
diff --git a/include/linux/mdev.h b/include/linux/mdev.h
index 3414307311f1..73ac27b3b868 100644
--- a/include/linux/mdev.h
+++ b/include/linux/mdev.h
@@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct device *dev);
enum {
MDEV_ID_VFIO = 1,
+ MDEV_ID_VIRTIO = 2,
+ MDEV_ID_VHOST = 3,
/* New entries must be added here */
};
diff --git a/include/linux/virt...
2019 Sep 26
0
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...v.h | 145
>>>> ++++++++++++++++++++++++++++++++++++
>>>> 2 files changed, 147 insertions(+)
>>>> create mode 100644 include/linux/virtio_mdev.h
>>>>
>>>> diff --git a/include/linux/mdev.h b/include/linux/mdev.h
>>>> index 3414307311f1..73ac27b3b868 100644
>>>> --- a/include/linux/mdev.h
>>>> +++ b/include/linux/mdev.h
>>>> @@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct device
>>>> *dev);
>>>>
>>>> enum {
>>>> MDEV_ID_VFIO = 1...
2019 Sep 25
0
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...| 2 +
>> include/linux/virtio_mdev.h | 145
>> ++++++++++++++++++++++++++++++++++++
>> 2 files changed, 147 insertions(+)
>> create mode 100644 include/linux/virtio_mdev.h
>>
>> diff --git a/include/linux/mdev.h b/include/linux/mdev.h
>> index 3414307311f1..73ac27b3b868 100644
>> --- a/include/linux/mdev.h
>> +++ b/include/linux/mdev.h
>> @@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct device
>> *dev);
>>
>> enum {
>> MDEV_ID_VFIO = 1,
>> + MDEV_ID_VIRTIO = 2,
>> + MDEV_ID_VHOST...
2019 Sep 26
1
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...ude/linux/virtio_mdev.h | 145
> >> ++++++++++++++++++++++++++++++++++++
> >> 2 files changed, 147 insertions(+)
> >> create mode 100644 include/linux/virtio_mdev.h
> >>
> >> diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> >> index 3414307311f1..73ac27b3b868 100644
> >> --- a/include/linux/mdev.h
> >> +++ b/include/linux/mdev.h
> >> @@ -126,6 +126,8 @@ struct mdev_device *mdev_from_dev(struct
> device
> >> *dev);
> >>
> >> enum {
> >> MDEV_ID_VFIO = 1,
> >> +...
2019 Sep 24
17
[PATCH V2 0/8] mdev based hardware virtio offloading support
Hi all:
There are hardware 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 to
2019 Sep 24
17
[PATCH V2 0/8] mdev based hardware virtio offloading support
Hi all:
There are hardware 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 to
2019 Sep 24
3
[PATCH V2 5/8] mdev: introduce device specific ops
...ps->mmap))
> return -EINVAL;
>
> - return parent->ops->mmap(mdev, vma);
> + return ops->mmap(mdev, vma);
> }
>
> static const struct vfio_device_ops vfio_mdev_dev_ops = {
> diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> index 3974650c074f..3414307311f1 100644
> --- a/include/linux/mdev.h
> +++ b/include/linux/mdev.h
> @@ -10,6 +10,11 @@
> #ifndef MDEV_H
> #define MDEV_H
>
> +#include <linux/types.h>
> +#include <linux/device.h>
> +#include <linux/mdev.h>
> +#include <uapi/linux/uuid.h>
>...
2019 Sep 24
3
[PATCH V2 5/8] mdev: introduce device specific ops
...ps->mmap))
> return -EINVAL;
>
> - return parent->ops->mmap(mdev, vma);
> + return ops->mmap(mdev, vma);
> }
>
> static const struct vfio_device_ops vfio_mdev_dev_ops = {
> diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> index 3974650c074f..3414307311f1 100644
> --- a/include/linux/mdev.h
> +++ b/include/linux/mdev.h
> @@ -10,6 +10,11 @@
> #ifndef MDEV_H
> #define MDEV_H
>
> +#include <linux/types.h>
> +#include <linux/device.h>
> +#include <linux/mdev.h>
> +#include <uapi/linux/uuid.h>
>...
2019 Sep 24
0
[PATCH V2 5/8] mdev: introduce device specific ops
...(!parent->ops->mmap))
+ if (unlikely(!ops->mmap))
return -EINVAL;
- return parent->ops->mmap(mdev, vma);
+ return ops->mmap(mdev, vma);
}
static const struct vfio_device_ops vfio_mdev_dev_ops = {
diff --git a/include/linux/mdev.h b/include/linux/mdev.h
index 3974650c074f..3414307311f1 100644
--- a/include/linux/mdev.h
+++ b/include/linux/mdev.h
@@ -10,6 +10,11 @@
#ifndef MDEV_H
#define MDEV_H
+#include <linux/types.h>
+#include <linux/device.h>
+#include <linux/mdev.h>
+#include <uapi/linux/uuid.h>
+
struct mdev_device;
/*
@@ -48,30 +53,8 @@ struc...
2019 Sep 25
0
[PATCH V2 5/8] mdev: introduce device specific ops
...;
> >
> > - return parent->ops->mmap(mdev, vma);
> > + return ops->mmap(mdev, vma);
> > }
> >
> > static const struct vfio_device_ops vfio_mdev_dev_ops = {
> > diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> > index 3974650c074f..3414307311f1 100644
> > --- a/include/linux/mdev.h
> > +++ b/include/linux/mdev.h
> > @@ -10,6 +10,11 @@
> > #ifndef MDEV_H
> > #define MDEV_H
> >
> > +#include <linux/types.h>
> > +#include <linux/device.h>
> > +#include <linux/mdev.h>
&...
2019 Sep 25
3
[PATCH V2 5/8] mdev: introduce device specific ops
...arent->ops->mmap(mdev, vma);
> > > + return ops->mmap(mdev, vma);
> > > }
> > >
> > > static const struct vfio_device_ops vfio_mdev_dev_ops = {
> > > diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> > > index 3974650c074f..3414307311f1 100644
> > > --- a/include/linux/mdev.h
> > > +++ b/include/linux/mdev.h
> > > @@ -10,6 +10,11 @@
> > > #ifndef MDEV_H
> > > #define MDEV_H
> > >
> > > +#include <linux/types.h>
> > > +#include <linux/device.h>
&g...
2019 Sep 25
3
[PATCH V2 5/8] mdev: introduce device specific ops
...arent->ops->mmap(mdev, vma);
> > > + return ops->mmap(mdev, vma);
> > > }
> > >
> > > static const struct vfio_device_ops vfio_mdev_dev_ops = {
> > > diff --git a/include/linux/mdev.h b/include/linux/mdev.h
> > > index 3974650c074f..3414307311f1 100644
> > > --- a/include/linux/mdev.h
> > > +++ b/include/linux/mdev.h
> > > @@ -10,6 +10,11 @@
> > > #ifndef MDEV_H
> > > #define MDEV_H
> > >
> > > +#include <linux/types.h>
> > > +#include <linux/device.h>
&g...