diff options
author | Parav Pandit <[email protected]> | 2021-10-26 20:55:13 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-11-01 05:26:49 -0400 |
commit | ad69dd0bf26b88ec6ab26f8bbe5cd74fbed7672a (patch) | |
tree | f375c7c9319917f9c300fc2a50589cea4107e14c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6dbb1f1687a2ccdfc5b84b0a35bbc6dfefc4de3b (diff) |
vdpa: Introduce query of device config layout
Introduce a command to query a device config layout.
An example query of network vdpa device:
$ vdpa dev add name bar mgmtdev vdpasim_net
$ vdpa dev config show
bar: mac 00:35:09:19:48:05 link up link_announce false mtu 1500
$ vdpa dev config show -jp
{
"config": {
"bar": {
"mac": "00:35:09:19:48:05",
"link ": "up",
"link_announce ": false,
"mtu": 1500,
}
}
}
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Eli Cohen <[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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions