diff options
| author | Zhu Lingshan <[email protected]> | 2022-11-25 22:57:22 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2023-02-20 19:26:55 -0500 |
| commit | 93139037b582134deb1ed894bbc4bc1d34ff35e7 (patch) | |
| tree | 41165b04f25326aaaf8763ffa64b819f709e8ffb /tools/perf/scripts/python | |
| parent | 6a3b2f179b49f2c6452ecc37b4778a43848b454c (diff) | |
vDPA/ifcvf: allocate the adapter in dev_add()
The adapter is the container of the vdpa_device,
this commits allocate the adapter in dev_add()
rather than in probe(). So that the vdpa_device()
could be re-created when the userspace creates
the vdpa device, and free-ed in dev_del()
Signed-off-by: Zhu Lingshan <[email protected]>
Cc: [email protected]
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions