summaryrefslogtreecommitdiffstats
path: root/sys/dev/nvme/nvme_private.h
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2012-10-18 00:43:25 +0000
committerjimharris <jimharris@FreeBSD.org>2012-10-18 00:43:25 +0000
commitbca33a6688fc34f33afa47494cf922c6d21b99d3 (patch)
tree617cdc00f8a7a101571cab7fc7a999b2b403920f /sys/dev/nvme/nvme_private.h
parentf52c8d1c53690af172d252522140d89c84fedb23 (diff)
downloadFreeBSD-src-bca33a6688fc34f33afa47494cf922c6d21b99d3.zip
FreeBSD-src-bca33a6688fc34f33afa47494cf922c6d21b99d3.tar.gz
Create nvme_qpair_submit_request() which eliminates all of the code
duplication between the admin and io controller-level submit functions. Sponsored by: Intel
Diffstat (limited to 'sys/dev/nvme/nvme_private.h')
-rw-r--r--sys/dev/nvme/nvme_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h
index e91509b..9554725 100644
--- a/sys/dev/nvme/nvme_private.h
+++ b/sys/dev/nvme/nvme_private.h
@@ -354,6 +354,8 @@ void nvme_qpair_submit_cmd(struct nvme_qpair *qpair,
struct nvme_tracker *tr);
void nvme_qpair_process_completions(struct nvme_qpair *qpair);
struct nvme_tracker * nvme_qpair_allocate_tracker(struct nvme_qpair *qpair);
+void nvme_qpair_submit_request(struct nvme_qpair *qpair,
+ struct nvme_request *req);
void nvme_admin_qpair_destroy(struct nvme_qpair *qpair);
OpenPOWER on IntegriCloud