summaryrefslogtreecommitdiff
path: root/drivers/vdpa/mlx5/Makefile
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2020-08-04 19:20:47 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-08-06 02:00:24 +0300
commit94abbccdf2916cb03f9626f2d36c6e9971490c12 (patch)
tree81f45c0b4cc6ef67f56d3fc13bc256558d1d1c08 /drivers/vdpa/mlx5/Makefile
parent29064bfdabd5ef49eac6909d3a36a075e3b52255 (diff)
downloadlinux-94abbccdf2916cb03f9626f2d36c6e9971490c12.tar.xz
vdpa/mlx5: Add shared memory registration code
Add code to support registering address space region for the device. The virtio driver can run as either: 1. Guest virtio driver 2. Userspace virtio driver on the host 3. Kernel virtio driver on the host In any case a memory key object is required to provide access to memory for the device. This code will be shared by network or block driver implementations. Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Eli Cohen <eli@mellanox.com> Link: https://lore.kernel.org/r/20200804162048.22587-12-eli@mellanox.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vdpa/mlx5/Makefile')
-rw-r--r--drivers/vdpa/mlx5/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vdpa/mlx5/Makefile b/drivers/vdpa/mlx5/Makefile
index d552abb1d126..b347c62032ea 100644
--- a/drivers/vdpa/mlx5/Makefile
+++ b/drivers/vdpa/mlx5/Makefile
@@ -1 +1 @@
-obj-$(CONFIG_MLX5_VDPA) += core/resources.o
+obj-$(CONFIG_MLX5_VDPA) += core/resources.o core/mr.o