diff options
author | Eli Cohen <eli@mellanox.com> | 2020-08-04 19:20:47 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-08-05 19:00:24 -0400 |
commit | 94abbccdf2916cb03f9626f2d36c6e9971490c12 (patch) | |
tree | 81f45c0b4cc6ef67f56d3fc13bc256558d1d1c08 /samples/hidraw | |
parent | 29064bfdabd5ef49eac6909d3a36a075e3b52255 (diff) | |
download | linux-94abbccdf2916cb03f9626f2d36c6e9971490c12.tar.bz2 |
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 'samples/hidraw')
0 files changed, 0 insertions, 0 deletions