diff options
author | 2021-08-12 11:24:54 +0800 | |
---|---|---|
committer | 2021-09-05 16:23:07 -0400 | |
commit | 6b5df347c6482f57b0d8f0569b86fb8fcd90d168 (patch) | |
tree | 92b18179dd5a8b50c6e296f5f7b5b860ada84f11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vDPA/ifcvf: introduce get_dev_type() which returns virtio dev id (diff) | |
download | wireguard-linux-6b5df347c6482f57b0d8f0569b86fb8fcd90d168.tar.xz wireguard-linux-6b5df347c6482f57b0d8f0569b86fb8fcd90d168.zip |
vDPA/ifcvf: implement management netlink framework for ifcvf
This commit implements the management netlink framework for ifcvf,
including register and add / remove a device
It works with iproute2:
[root@localhost lszhu]# vdpa mgmtdev show -jp
{
"mgmtdev": {
"pci/0000:01:00.5": {
"supported_classes": [ "net" ]
},
"pci/0000:01:00.6": {
"supported_classes": [ "net" ]
}
}
}
[root@localhost lszhu]# vdpa dev add mgmtdev pci/0000:01:00.5 name vdpa0
[root@localhost lszhu]# vdpa dev add mgmtdev pci/0000:01:00.6 name vdpa1
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210812032454.24486-3-lingshan.zhu@intel.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