vfio-user: fix nvmf_vfio_user_poll_group_add() comment
The function comment was referring to a non-existent caller; instead, expand with a little more detail on the path taken for new QPs. Signed-off-by: John Levon <john.levon@nutanix.com> Change-Id: I42478194f3cfc18a6ff6c434964630ac42866f1d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8534 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
be1ff6def5
commit
56e327e795
@ -2045,7 +2045,10 @@ handle_queue_connect_rsp(struct nvmf_vfio_user_req *req, void *cb_arg)
|
||||
}
|
||||
|
||||
/*
|
||||
* Called by spdk_nvmf_transport_poll_group_add.
|
||||
* Add the given qpair to the given poll group. New qpairs are added to
|
||||
* ->new_qps; they are processed via nvmf_vfio_user_accept(), calling
|
||||
* spdk_nvmf_tgt_new_qpair(), which picks a poll group, then calls back
|
||||
* here via nvmf_transport_poll_group_add().
|
||||
*/
|
||||
static int
|
||||
nvmf_vfio_user_poll_group_add(struct spdk_nvmf_transport_poll_group *group,
|
||||
|
Loading…
Reference in New Issue
Block a user