summaryrefslogtreecommitdiffstats
path: root/sys/dev/nvme/nvme_private.h
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2013-03-26 18:23:35 +0000
committerjimharris <jimharris@FreeBSD.org>2013-03-26 18:23:35 +0000
commit34e3d4c73e2de964686848587d24876fa9299321 (patch)
tree43a4a97ce3faa5f715c203c7c8c2f92b8874631e /sys/dev/nvme/nvme_private.h
parent1ba7ad0dee259570e2b2e97e68b3408f481a82b1 (diff)
downloadFreeBSD-src-34e3d4c73e2de964686848587d24876fa9299321.zip
FreeBSD-src-34e3d4c73e2de964686848587d24876fa9299321.tar.gz
Add support for ABORT commands, including issuing these commands when
an I/O times out. Also ensure that we retry commands that are aborted due to a timeout. 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 a74b876..69024ba 100644
--- a/sys/dev/nvme/nvme_private.h
+++ b/sys/dev/nvme/nvme_private.h
@@ -348,6 +348,8 @@ void nvme_ctrlr_cmd_set_asynchronous_event_config(struct nvme_controller *ctrlr,
void nvme_ctrlr_cmd_asynchronous_event_request(struct nvme_controller *ctrlr,
nvme_cb_fn_t cb_fn,
void *cb_arg);
+void nvme_ctrlr_cmd_abort(struct nvme_controller *ctrlr, uint16_t cid,
+ uint16_t sqid, nvme_cb_fn_t cb_fn, void *cb_arg);
void nvme_payload_map(void *arg, bus_dma_segment_t *seg, int nseg,
int error);
OpenPOWER on IntegriCloud