From: Gautam Dawar <gautam.dawar@xilinx.com>
To: <mst@redhat.com>, <jasowang@redhat.com>, <qemu-devel@nongnu.org>,
<eperezma@redhat.com>
Cc: martinh@xilinx.com, pabloc@xilinx.com, hanand@xilinx.com,
tanujk@xilinx.com, gdawar@xilinx.com
Subject: [PATCH 0/2] Allow VIRTIO_F_IN_ORDER negotiation with vhost-vdpa
Date: Tue, 15 Feb 2022 12:52:29 +0530 [thread overview]
Message-ID: <20220215072231.2498-1-gdawar@xilinx.com> (raw)
The VIRTIO_F_IN_ORDER feature is implemented by DPDK virtio_net driver
but not by the Linux kernel's virtio_net driver.
However, this feature can't be tested using vhost-vdpa even with HW devices
that implement it as VIRTIO_F_IN_ORDER isn't defined in kernel's
virtio_config.h header file yet and hence is not available in QEMU.
Accordingly, as a first step, a patch for defining VIRTIO_F_IN_ORDER in
kernel (version 5.17-rc4, file: include/uapi/linux/virtio_config.h) has
been published.
This patch series first brings in VIRTIO_F_IN_ORDER's definition from Linux
kernel using the script update-linux-headers.sh.
Next, it adds VIRTIO_F_IN_ORDER to host_features in case the underlying
vdpa device exposes this feature bit in device featues there by making it
available for negotiation with the virtio_net driver.
Gautam Dawar (2):
linux headers: update against Linux 5.17-rc4
Allow VIRTIO_F_IN_ORDER to be negotiated for vdpa devices
hw/net/virtio-net.c | 10 ++
include/standard-headers/asm-x86/kvm_para.h | 1 +
include/standard-headers/drm/drm_fourcc.h | 11 ++
include/standard-headers/linux/ethtool.h | 1 +
include/standard-headers/linux/fuse.h | 60 +++++++-
include/standard-headers/linux/pci_regs.h | 142 +++++++++---------
.../standard-headers/linux/virtio_config.h | 6 +
include/standard-headers/linux/virtio_gpio.h | 72 +++++++++
include/standard-headers/linux/virtio_i2c.h | 47 ++++++
include/standard-headers/linux/virtio_iommu.h | 8 +-
.../standard-headers/linux/virtio_pcidev.h | 65 ++++++++
include/standard-headers/linux/virtio_scmi.h | 24 +++
linux-headers/asm-generic/unistd.h | 5 +-
linux-headers/asm-mips/unistd_n32.h | 2 +
linux-headers/asm-mips/unistd_n64.h | 2 +
linux-headers/asm-mips/unistd_o32.h | 2 +
linux-headers/asm-powerpc/unistd_32.h | 2 +
linux-headers/asm-powerpc/unistd_64.h | 2 +
linux-headers/asm-riscv/bitsperlong.h | 14 ++
linux-headers/asm-riscv/mman.h | 1 +
linux-headers/asm-riscv/unistd.h | 44 ++++++
linux-headers/asm-s390/unistd_32.h | 2 +
linux-headers/asm-s390/unistd_64.h | 2 +
linux-headers/asm-x86/kvm.h | 19 ++-
linux-headers/asm-x86/unistd_32.h | 1 +
linux-headers/asm-x86/unistd_64.h | 1 +
linux-headers/asm-x86/unistd_x32.h | 1 +
linux-headers/linux/kvm.h | 18 +++
net/vhost-vdpa.c | 1 +
29 files changed, 490 insertions(+), 76 deletions(-)
create mode 100644 include/standard-headers/linux/virtio_gpio.h
create mode 100644 include/standard-headers/linux/virtio_i2c.h
create mode 100644 include/standard-headers/linux/virtio_pcidev.h
create mode 100644 include/standard-headers/linux/virtio_scmi.h
create mode 100644 linux-headers/asm-riscv/bitsperlong.h
create mode 100644 linux-headers/asm-riscv/mman.h
create mode 100644 linux-headers/asm-riscv/unistd.h
--
2.30.1
next reply other threads:[~2022-02-15 8:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-15 7:22 Gautam Dawar [this message]
2022-02-15 7:22 ` [PATCH 1/2] linux headers: update against Linux 5.17-rc4 Gautam Dawar
2022-02-17 7:17 ` Jason Wang
2022-02-17 9:06 ` Gautam Dawar
2022-02-15 7:22 ` [PATCH 2/2] Allow VIRTIO_F_IN_ORDER to be negotiated for vdpa devices Gautam Dawar
2022-02-15 15:22 ` Eugenio Perez Martin
2022-02-17 7:16 ` Jason Wang
2022-02-17 8:27 ` Gautam Dawar
2022-02-17 8:32 ` Michael S. Tsirkin
2022-02-17 8:54 ` Eugenio Perez Martin
2022-02-17 7:32 ` Michael S. Tsirkin
2022-02-17 14:29 ` Stefano Garzarella
2022-02-18 10:24 ` Eugenio Perez Martin
2022-02-18 16:57 ` Stefano Garzarella
2022-02-18 10:22 ` Eugenio Perez Martin
2022-02-21 4:31 ` Jason Wang
2022-02-18 11:09 ` Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220215072231.2498-1-gdawar@xilinx.com \
--to=gautam.dawar@xilinx.com \
--cc=eperezma@redhat.com \
--cc=gdawar@xilinx.com \
--cc=hanand@xilinx.com \
--cc=jasowang@redhat.com \
--cc=martinh@xilinx.com \
--cc=mst@redhat.com \
--cc=pabloc@xilinx.com \
--cc=qemu-devel@nongnu.org \
--cc=tanujk@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).