diff options
author | Eli Cohen <[email protected]> | 2021-04-08 12:13:21 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-05-03 04:55:51 -0400 |
commit | 58926c8aab104daa49f35b9fcf664d95c22c8ac7 (patch) | |
tree | 9e91837ef312fb8c3a7ec4544a148ffbe52a5cf8 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6 (diff) |
vdpa/mlx5: Enable user to add/delete vdpa device
Allow to control vdpa device creation and destruction using the vdpa
management tool.
Examples:
1. List the management devices
$ vdpa mgmtdev show
pci/0000:3b:00.1:
supported_classes net
2. Create vdpa instance
$ vdpa dev add mgmtdev pci/0000:3b:00.1 name vdpa0
3. Show vdpa devices
$ vdpa dev show
vdpa0: type network mgmtdev pci/0000:3b:00.1 vendor_id 5555 max_vqs 16 \
max_vq_size 256
Signed-off-by: Eli Cohen <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Acked-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions