From: Dragos Tatulea <dtatulea@nvidia.com>
To: "Michael S . Tsirkin" <mst@redhat.com>,
Jason Wang <jasowang@redhat.com>,
Eugenio Perez Martin <eperezma@redhat.com>,
Si-Wei Liu <si-wei.liu@oracle.com>,
Saeed Mahameed <saeedm@nvidia.com>,
Leon Romanovsky <leon@kernel.org>,
<virtualization@lists.linux-foundation.org>
Cc: Dragos Tatulea <dtatulea@nvidia.com>, <kvm@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, Parav Pandit <parav@nvidia.com>,
Xuan Zhuo <xuanzhuo@linux.alibaba.com>,
Gal Pressman <gal@nvidia.com>
Subject: [PATCH mlx5-vhost v3 01/16] vdpa/mlx5: Expose descriptor group mkey hw capability
Date: Mon, 9 Oct 2023 14:23:46 +0300 [thread overview]
Message-ID: <20231009112401.1060447-2-dtatulea@nvidia.com> (raw)
In-Reply-To: <20231009112401.1060447-1-dtatulea@nvidia.com>
Necessary for improved live migration flow. Actual support will be added
in a downstream patch.
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
---
include/linux/mlx5/mlx5_ifc.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index dd8421d021cf..ec15330b970d 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1231,7 +1231,13 @@ struct mlx5_ifc_virtio_emulation_cap_bits {
u8 max_emulated_devices[0x8];
u8 max_num_virtio_queues[0x18];
- u8 reserved_at_a0[0x60];
+ u8 reserved_at_a0[0x20];
+
+ u8 reserved_at_c0[0x13];
+ u8 desc_group_mkey_supported[0x1];
+ u8 reserved_at_d4[0xc];
+
+ u8 reserved_at_e0[0x20];
u8 umem_1_buffer_param_a[0x20];
--
2.41.0
next prev parent reply other threads:[~2023-10-09 11:24 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-09 11:23 [PATCH vhost v3 00/16] vdpa: Add support for vq descriptor mappings Dragos Tatulea
2023-10-09 11:23 ` Dragos Tatulea [this message]
2023-10-09 11:23 ` [PATCH vhost v3 02/16] vdpa: introduce dedicated descriptor group for virtqueue Dragos Tatulea
2023-10-09 11:23 ` [PATCH vhost v3 03/16] vhost-vdpa: introduce descriptor group backend feature Dragos Tatulea
2023-10-09 11:23 ` [PATCH vhost v3 04/16] vhost-vdpa: uAPI to get dedicated descriptor group id Dragos Tatulea
2023-10-09 11:23 ` [PATCH vhost v3 05/16] vdpa/mlx5: Create helper function for dma mappings Dragos Tatulea
2023-10-09 11:23 ` [PATCH vhost v3 06/16] vdpa/mlx5: Decouple cvq iotlb handling from hw mapping code Dragos Tatulea
2023-10-09 11:23 ` [PATCH vhost v3 07/16] vdpa/mlx5: Take cvq iotlb lock during refresh Dragos Tatulea
2023-10-09 11:23 ` [PATCH vhost v3 08/16] vdpa/mlx5: Collapse "dvq" mr add/delete functions Dragos Tatulea
2023-10-09 11:23 ` [PATCH vhost v3 09/16] vdpa/mlx5: Rename mr destroy functions Dragos Tatulea
2023-10-09 11:23 ` [PATCH vhost v3 10/16] vdpa/mlx5: Allow creation/deletion of any given mr struct Dragos Tatulea
2023-10-10 6:24 ` Jason Wang
2023-10-09 11:23 ` [PATCH vhost v3 11/16] vdpa/mlx5: Move mr mutex out of " Dragos Tatulea
2023-10-10 6:25 ` Jason Wang
2023-10-09 11:23 ` [PATCH vhost v3 12/16] vdpa/mlx5: Improve mr update flow Dragos Tatulea
2023-10-10 6:29 ` Jason Wang
2023-10-09 11:23 ` [PATCH vhost v3 13/16] vdpa/mlx5: Introduce mr for vq descriptor Dragos Tatulea
2023-10-10 6:30 ` Jason Wang
2023-10-09 11:23 ` [PATCH vhost v3 14/16] vdpa/mlx5: Enable hw support for vq descriptor mapping Dragos Tatulea
2023-10-10 6:32 ` Jason Wang
2023-10-09 11:24 ` [PATCH vhost v3 15/16] vdpa/mlx5: Make iotlb helper functions more generic Dragos Tatulea
2023-10-10 6:32 ` Jason Wang
2023-10-09 11:24 ` [PATCH vhost v3 16/16] vdpa/mlx5: Update cvq iotlb mapping on ASID change Dragos Tatulea
2023-10-10 6:33 ` Jason Wang
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=20231009112401.1060447-2-dtatulea@nvidia.com \
--to=dtatulea@nvidia.com \
--cc=eperezma@redhat.com \
--cc=gal@nvidia.com \
--cc=jasowang@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=parav@nvidia.com \
--cc=saeedm@nvidia.com \
--cc=si-wei.liu@oracle.com \
--cc=virtualization@lists.linux-foundation.org \
--cc=xuanzhuo@linux.alibaba.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
all inboxes | Powered by JetHome®