linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add definition of VIRTIO_F_IN_ORDER feature bit
@ 2022-02-15  5:34 Gautam Dawar
  2022-02-15  7:48 ` Jason Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Gautam Dawar @ 2022-02-15  5:34 UTC (permalink / raw)
  To: jasowang
  Cc: martinh, hanand, pabloc, gdawar, Michael S. Tsirkin,
	virtualization, linux-kernel

This patch adds the definition of VIRTIO_F_IN_ORDER feature bit
in the relevant header file to make it available in QEMU's
linux standard header file virtio_config.h, which is updated using
scripts/update-linux-headers.sh

Signed-off-by: Gautam Dawar <gdawar@xilinx.com>
---
 include/uapi/linux/virtio_config.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h
index b5eda06f0d57..f0fb0ae021c0 100644
--- a/include/uapi/linux/virtio_config.h
+++ b/include/uapi/linux/virtio_config.h
@@ -82,6 +82,12 @@
 /* This feature indicates support for the packed virtqueue layout. */
 #define VIRTIO_F_RING_PACKED		34
 
+/*
+ * Inorder feature indicates that all buffers are used by the device
+ * in the same order in which they have been made available.
+ */
+#define VIRTIO_F_IN_ORDER		35
+
 /*
  * This feature indicates that memory accesses by the driver and the
  * device are ordered in a way described by the platform.
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add definition of VIRTIO_F_IN_ORDER feature bit
  2022-02-15  5:34 [PATCH] Add definition of VIRTIO_F_IN_ORDER feature bit Gautam Dawar
@ 2022-02-15  7:48 ` Jason Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Wang @ 2022-02-15  7:48 UTC (permalink / raw)
  To: Gautam Dawar
  Cc: Martin Petrus Hubertus Habets, Harpreet Singh Anand, pabloc,
	Gautam Dawar, Michael S. Tsirkin, virtualization, linux-kernel

On Tue, Feb 15, 2022 at 1:34 PM Gautam Dawar <gautam.dawar@xilinx.com> wrote:
>
> This patch adds the definition of VIRTIO_F_IN_ORDER feature bit
> in the relevant header file to make it available in QEMU's
> linux standard header file virtio_config.h, which is updated using
> scripts/update-linux-headers.sh
>
> Signed-off-by: Gautam Dawar <gdawar@xilinx.com>

Acked-by: Jason Wang <jasowang@redhat.com>

> ---
>  include/uapi/linux/virtio_config.h | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h
> index b5eda06f0d57..f0fb0ae021c0 100644
> --- a/include/uapi/linux/virtio_config.h
> +++ b/include/uapi/linux/virtio_config.h
> @@ -82,6 +82,12 @@
>  /* This feature indicates support for the packed virtqueue layout. */
>  #define VIRTIO_F_RING_PACKED           34
>
> +/*
> + * Inorder feature indicates that all buffers are used by the device
> + * in the same order in which they have been made available.
> + */
> +#define VIRTIO_F_IN_ORDER              35
> +
>  /*
>   * This feature indicates that memory accesses by the driver and the
>   * device are ordered in a way described by the platform.
> --
> 2.30.1
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-15  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15  5:34 [PATCH] Add definition of VIRTIO_F_IN_ORDER feature bit Gautam Dawar
2022-02-15  7:48 ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).