From: "Liu,Feng(INF)" <liufeng32@baidu.com>
To: "jasowang@redhat.com" <jasowang@redhat.com>,
"virtualization@lists.linux-foundation.org"
<virtualization@lists.linux-foundation.org>
Subject: question about vdpa_mgmt_dev
Date: Mon, 15 Nov 2021 05:52:24 +0000 [thread overview]
Message-ID: <10b3825413da4a73ac8cdce9eca5e860@baidu.com> (raw)
Hi Experts
I have read the upstream code about vdpa, and I notice that there is a new struct vdpa_mgmt_dev have been added.
Every driver implements dev_add() interface, such as mlx5 use mlx5_vdpa_dev_add(). This interface completes the creation of the vdpa device, hardware initialization and system registration. And I found that only netlink will call the dev_add() interface, in vdpa_nl_cmd_dev_add_set_doit(). While the probe() function just register vdpa_mgmt_dev without call dev_add()
So, my questions are:
Does it create a vdpa device only through the netlink interface? The system scans the PCI device and does not automatically create the corresponding vdpa device?
Thanks
Feng
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
next reply other threads:[~2021-11-15 6:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 5:52 Liu,Feng(INF) [this message]
2021-11-15 6:31 ` question about vdpa_mgmt_dev Jason Wang
2021-11-15 6:58 ` 答复: " Liu,Feng(INF)
2021-11-15 7:02 ` Liu,Feng(INF)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10b3825413da4a73ac8cdce9eca5e860@baidu.com \
--to=liufeng32@baidu.com \
--cc=jasowang@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox