Commit 56e327e7 authored by John Levon's avatar John Levon Committed by Jim Harris
Browse files

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: default avatarJohn Levon <john.levon@nutanix.com>
Change-Id: I42478194f3cfc18a6ff6c434964630ac42866f1d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8534


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
parent be1ff6de
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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,