Displaying 20 results from an estimated 48 matches for "generaton".
Did you mean:
generation
2019 Oct 18
1
[PATCH V4 4/6] mdev: introduce virtio device and its device ops
..._1, we may add dirty page tracking etc which means we need new
> device ops.
Ok, so that's supposed to be distinct bits that can be or'ed together?
Makes sense, but probably needs some more documentation somewhere.
>
>
> >
> >> + * @get_generation: Get device generaton
> >> + * @mdev: mediated device
> >> + * Returns u32: device generation
> > Is that callback mandatory?
>
>
> I think so, it's hard to emulate that completely in virtio-mdev transport.
IIRC, the generation stuff is not mandatory in the current versi...
2019 Oct 18
1
[PATCH V4 4/6] mdev: introduce virtio device and its device ops
...ed by the driver
s/get_features/set_features/
> + * configration space
> + * @get_mdev_features: Get the feature of virtio mdev device
> + * @mdev: mediated device
> + * Returns the mdev features (API) support by
> + * the device.
> + * @get_generation: Get device generaton
> + * @mdev: mediated device
> + * Returns u32: device generation
> + */
> +struct virtio_mdev_device_ops {
> + /* Virtqueue ops */
> + int (*set_vq_address)(struct mdev_device *mdev,
> + u16 idx, u64 desc_area, u64 driver_area,
> + u64 device_area);
&g...
2019 Oct 18
2
[PATCH V4 4/6] mdev: introduce virtio device and its device ops
...rtio mdev device
> + * @mdev: mediated device
> + * Returns the mdev features (API) support by
> + * the device.
What kind of 'features' are supposed to go in there? Are these bits,
like you defined for VIRTIO_MDEV_F_VERSION_1 above?
> + * @get_generation: Get device generaton
> + * @mdev: mediated device
> + * Returns u32: device generation
Is that callback mandatory?
> + */
> +struct virtio_mdev_device_ops {
> + /* Virtqueue ops */
> + int (*set_vq_address)(struct mdev_device *mdev,
> + u16 idx, u64 desc_area, u64 driver_area,
>...
2019 Oct 18
2
[PATCH V4 4/6] mdev: introduce virtio device and its device ops
...rtio mdev device
> + * @mdev: mediated device
> + * Returns the mdev features (API) support by
> + * the device.
What kind of 'features' are supposed to go in there? Are these bits,
like you defined for VIRTIO_MDEV_F_VERSION_1 above?
> + * @get_generation: Get device generaton
> + * @mdev: mediated device
> + * Returns u32: device generation
Is that callback mandatory?
> + */
> +struct virtio_mdev_device_ops {
> + /* Virtqueue ops */
> + int (*set_vq_address)(struct mdev_device *mdev,
> + u16 idx, u64 desc_area, u64 driver_area,
>...
2019 Sep 25
3
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...t; + * @buf: buffer used to write from
> + * @len: the length to write to
> + * configration space
> + * @get_version: Get the version of virtio mdev device
> + * @mdev: mediated device
> + * Returns integer: version of the device
> + * @get_generation: Get device generaton
> + * @mdev: mediated device
> + * Returns u32: device generation
> + */
> +struct virtio_mdev_device_ops {
> + /* Virtqueue ops */
> + int (*set_vq_address)(struct mdev_device *mdev,
> + u16 idx, u64 desc_area, u64 driver_area,
> + u64 device_area);
&g...
2019 Sep 25
3
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...t; + * @buf: buffer used to write from
> + * @len: the length to write to
> + * configration space
> + * @get_version: Get the version of virtio mdev device
> + * @mdev: mediated device
> + * Returns integer: version of the device
> + * @get_generation: Get device generaton
> + * @mdev: mediated device
> + * Returns u32: device generation
> + */
> +struct virtio_mdev_device_ops {
> + /* Virtqueue ops */
> + int (*set_vq_address)(struct mdev_device *mdev,
> + u16 idx, u64 desc_area, u64 driver_area,
> + u64 device_area);
&g...
2019 Sep 25
2
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...@len: the length to write to
> > > + * configration space
> > > + * @get_version: Get the version of virtio mdev device
> > > + * @mdev: mediated device
> > > + * Returns integer: version of the device
> > > + * @get_generation: Get device generaton
> > > + * @mdev: mediated device
> > > + * Returns u32: device generation
> > > + */
> > > +struct virtio_mdev_device_ops {
> > > + /* Virtqueue ops */
> > > + int (*set_vq_address)(struct mdev_device *mdev,
> > > + u16 id...
2019 Sep 25
2
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...@len: the length to write to
> > > + * configration space
> > > + * @get_version: Get the version of virtio mdev device
> > > + * @mdev: mediated device
> > > + * Returns integer: version of the device
> > > + * @get_generation: Get device generaton
> > > + * @mdev: mediated device
> > > + * Returns u32: device generation
> > > + */
> > > +struct virtio_mdev_device_ops {
> > > + /* Virtqueue ops */
> > > + int (*set_vq_address)(struct mdev_device *mdev,
> > > + u16 id...
2019 Sep 24
3
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...t; + * @buf: buffer used to write from
> + * @len: the length to write to
> + * configration space
> + * @get_version: Get the version of virtio mdev device
> + * @mdev: mediated device
> + * Returns integer: version of the device
> + * @get_generation: Get device generaton
> + * @mdev: mediated device
> + * Returns u32: device generation
> + */
> +struct virtio_mdev_device_ops {
> + /* Virtqueue ops */
> + int (*set_vq_address)(struct mdev_device *mdev,
> + u16 idx, u64 desc_area, u64 driver_area,
> + u64 device_area);
&g...
2019 Oct 23
2
[PATCH V5 4/6] mdev: introduce virtio device and its device ops
...trate
> + * thecapability of the mdev device. New
> + * features bits must be added when
> + * introducing new device ops.
> + * @mdev: mediated device
> + * Returns the mdev features (API) support by
> + * the device.
> + * @get_generation: Get device config generaton (optionally)
> + * @mdev: mediated device
> + * Returns u32: device generation
> + */
> +struct virtio_mdev_device_ops {
> + /* Virtqueue ops */
> + int (*set_vq_address)(struct mdev_device *mdev,
> + u16 idx, u64 desc_area, u64 driver_area,
> + u64 dev...
2019 Oct 23
2
[PATCH V5 4/6] mdev: introduce virtio device and its device ops
...trate
> + * thecapability of the mdev device. New
> + * features bits must be added when
> + * introducing new device ops.
> + * @mdev: mediated device
> + * Returns the mdev features (API) support by
> + * the device.
> + * @get_generation: Get device config generaton (optionally)
> + * @mdev: mediated device
> + * Returns u32: device generation
> + */
> +struct virtio_mdev_device_ops {
> + /* Virtqueue ops */
> + int (*set_vq_address)(struct mdev_device *mdev,
> + u16 idx, u64 desc_area, u64 driver_area,
> + u64 dev...
2019 Sep 24
0
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...ng of
+ * configuration space
+ * @buf: buffer used to write from
+ * @len: the length to write to
+ * configration space
+ * @get_version: Get the version of virtio mdev device
+ * @mdev: mediated device
+ * Returns integer: version of the device
+ * @get_generation: Get device generaton
+ * @mdev: mediated device
+ * Returns u32: device generation
+ */
+struct virtio_mdev_device_ops {
+ /* Virtqueue ops */
+ int (*set_vq_address)(struct mdev_device *mdev,
+ u16 idx, u64 desc_area, u64 driver_area,
+ u64 device_area);
+ void (*set_vq_num)(struct mdev_device *m...
2019 Oct 11
0
[PATCH V3 5/7] mdev: introduce virtio device and its device ops
...ace
+ * @buf: buffer used to write from
+ * @len: the length to write to
+ * configration space
+ * @get_mdev_features: Get the feature of virtio mdev device
+ * @mdev: mediated device
+ * Returns the mdev features (API) support by
+ * the device.
+ * @get_generation: Get device generaton
+ * @mdev: mediated device
+ * Returns u32: device generation
+ */
+struct virtio_mdev_device_ops {
+ /* Virtqueue ops */
+ int (*set_vq_address)(struct mdev_device *mdev,
+ u16 idx, u64 desc_area, u64 driver_area,
+ u64 device_area);
+ void (*set_vq_num)(struct mdev_device *m...
2019 Sep 26
0
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...the length to write to
>>>> + * configration space
>>>> + * @get_version: Get the version of virtio mdev device
>>>> + * @mdev: mediated device
>>>> + * Returns integer: version of the device
>>>> + * @get_generation: Get device generaton
>>>> + * @mdev: mediated device
>>>> + * Returns u32: device generation
>>>> + */
>>>> +struct virtio_mdev_device_ops {
>>>> + /* Virtqueue ops */
>>>> + int (*set_vq_address)(struct mdev_device *mdev,
>>>> +...
2019 Sep 25
0
[PATCH V2 6/8] mdev: introduce virtio device and its device ops
...sed to write from
>> + * @len: the length to write to
>> + * configration space
>> + * @get_version: Get the version of virtio mdev device
>> + * @mdev: mediated device
>> + * Returns integer: version of the device
>> + * @get_generation: Get device generaton
>> + * @mdev: mediated device
>> + * Returns u32: device generation
>> + */
>> +struct virtio_mdev_device_ops {
>> + /* Virtqueue ops */
>> + int (*set_vq_address)(struct mdev_device *mdev,
>> + u16 idx, u64 desc_area, u64 driver_area,
>>...
2019 Nov 04
2
[PATCH V7 4/6] mdev: introduce virtio device and its device ops
...c configuration space
> + * @mdev: mediated device
> + * @offset: offset from the beginning of
> + * configuration space
> + * @buf: buffer used to write from
> + * @len: the length to write to
> + * configration space
> + * @get_generation: Get device config generaton (optional)
> + * @mdev: mediated device
> + * Returns u32: device generation
> + */
> +struct mdev_virtio_device_ops {
> + /* Mdev device ops */
> + u64 (*get_mdev_features)(struct mdev_device *mdev);
> + bool (*set_mdev_feature)(struct mdev_device *mdev);
> + /* Virtq...
2019 Nov 04
2
[PATCH V7 4/6] mdev: introduce virtio device and its device ops
...c configuration space
> + * @mdev: mediated device
> + * @offset: offset from the beginning of
> + * configuration space
> + * @buf: buffer used to write from
> + * @len: the length to write to
> + * configration space
> + * @get_generation: Get device config generaton (optional)
> + * @mdev: mediated device
> + * Returns u32: device generation
> + */
> +struct mdev_virtio_device_ops {
> + /* Mdev device ops */
> + u64 (*get_mdev_features)(struct mdev_device *mdev);
> + bool (*set_mdev_feature)(struct mdev_device *mdev);
> + /* Virtq...
2019 Oct 17
0
[PATCH V4 4/6] mdev: introduce virtio device and its device ops
...ace
+ * @buf: buffer used to write from
+ * @len: the length to write to
+ * configration space
+ * @get_mdev_features: Get the feature of virtio mdev device
+ * @mdev: mediated device
+ * Returns the mdev features (API) support by
+ * the device.
+ * @get_generation: Get device generaton
+ * @mdev: mediated device
+ * Returns u32: device generation
+ */
+struct virtio_mdev_device_ops {
+ /* Virtqueue ops */
+ int (*set_vq_address)(struct mdev_device *mdev,
+ u16 idx, u64 desc_area, u64 driver_area,
+ u64 device_area);
+ void (*set_vq_num)(struct mdev_device *m...
2019 Oct 18
0
[PATCH V4 4/6] mdev: introduce virtio device and its device ops
...ERSION_1 above?
It's the API or mdev features other than virtio features. It could be
used by driver to determine the capability of the mdev device. Besides
_F_VERSION_1, we may add dirty page tracking etc which means we need new
device ops.
>
>> + * @get_generation: Get device generaton
>> + * @mdev: mediated device
>> + * Returns u32: device generation
> Is that callback mandatory?
I think so, it's hard to emulate that completely in virtio-mdev transport.
Thanks
>
>> + */
>> +struct virtio_mdev_device_ops {
>> + /* Virtqueue ops...
2019 Nov 05
0
[PATCH V8 4/6] mdev: introduce virtio device and its device ops
...t_config: Write to device specific configuration space
+ * @mdev: mediated device
+ * @offset: offset from the beginning of
+ * configuration space
+ * @buf: buffer used to write from
+ * @len: the length to write to
+ * configration space
+ * @get_generation: Get device config generaton (optional)
+ * @mdev: mediated device
+ * Returns u32: device generation
+ */
+struct mdev_virtio_device_ops {
+ /* Virtqueue ops */
+ int (*set_vq_address)(struct mdev_device *mdev,
+ u16 idx, u64 desc_area, u64 driver_area,
+ u64 device_area);
+ void (*set_vq_num)(struct mde...