diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2016-11-16 23:46:25 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-11-17 18:33:20 +0300 |
commit | b3c0a866f1692da2d1059dadd9c429ff5b364fc9 (patch) | |
tree | 84442e9b18df0a2c6900aa3395800a095eecdea8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c086de818dd81c3c2f7cecff23de6585b74340c0 (diff) | |
download | linux-b3c0a866f1692da2d1059dadd9c429ff5b364fc9.tar.xz |
vfio: Introduce common function to add capabilities
Vendor driver using mediated device framework should use
vfio_info_add_capability() to add capabilities.
Introduced this function to reduce code duplication in vendor drivers.
vfio_info_cap_shift() manipulated a data buffer to add an offset to each
element in a chain. This data buffer is documented in a uapi header.
Changing vfio_info_cap_shift symbol to be available to all drivers.
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Neo Jia <cjia@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions