diff options
author | 2020-12-15 15:42:45 +0100 | |
---|---|---|
committer | 2020-12-18 16:14:29 -0500 | |
commit | 2f8f461888052f1b92ebe6419514355538f7cd68 (patch) | |
tree | 5ea1b4d4798768e43ff264217bfe02e330d3eb63 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vdpa_sim: add struct vdpasim_dev_attr for device attributes (diff) | |
download | wireguard-linux-2f8f461888052f1b92ebe6419514355538f7cd68.tar.xz wireguard-linux-2f8f461888052f1b92ebe6419514355538f7cd68.zip |
vdpa_sim: add device id field in vdpasim_dev_attr
Remove VDPASIM_DEVICE_ID macro and add 'id' field in vdpasim_dev_attr,
that will be returned by vdpasim_get_device_id().
Use VIRTIO_ID_NET for vDPA-net simulator device id.
Co-developed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20201215144256.155342-8-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions