OpenCloudOS-Kernel/drivers/vdpa/vdpa_sim
Eli Cohen b2ce6197c9 vdpa/vdpa_sim_net: Report max device capabilities
Configure max supported virtqueues features on the management device.
This info can be retrieved using:

$ vdpa mgmtdev show
vdpasim_net:
  supported_classes net
  max_supported_vqs 2
  dev_features MAC ANY_LAYOUT VERSION_1 ACCESS_PLATFORM

Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20220105114646.577224-15-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
2022-01-14 18:50:54 -05:00
..
Makefile vdpa: add vdpa simulator for block device 2021-05-03 04:55:53 -04:00
vdpa_sim.c vdpa: Provide interface to read driver features 2022-01-14 18:50:53 -05:00
vdpa_sim.h vdpa_sim: use iova module to allocate IOVA addresses 2021-05-03 04:55:52 -04:00
vdpa_sim_blk.c vdpa: Enable user to set mac and mtu of vdpa device 2021-11-01 05:26:49 -04:00
vdpa_sim_net.c vdpa/vdpa_sim_net: Report max device capabilities 2022-01-14 18:50:54 -05:00