summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorSheng Yang <sheng@yasker.org>2016-02-29 16:02:15 -0800
committerNicholas Bellinger <nab@linux-iscsi.org>2016-03-10 21:49:09 -0800
commit32c76de3466ed2a875e36c140ac4e3800fdfab6e (patch)
tree1296fc2d9efffb9deb50de671be4f69d5af7dcde /include/uapi
parent0241fd39ce7bc9b82b7e57305cb0d6bb1364d45b (diff)
target/user: Report capability of handling out-of-order completions to userspace
TCMU_MAILBOX_FLAG_CAP_OOOC was introduced, and userspace can check the flag for out-of-order completion capability support. Also update the document on how to use the feature. Signed-off-by: Sheng Yang <sheng@yasker.org> Reviewed-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/target_core_user.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/target_core_user.h b/include/uapi/linux/target_core_user.h
index 95c6521d8a95..c506cddb8165 100644
--- a/include/uapi/linux/target_core_user.h
+++ b/include/uapi/linux/target_core_user.h
@@ -41,6 +41,7 @@
#define TCMU_MAILBOX_VERSION 2
#define ALIGN_SIZE 64 /* Should be enough for most CPUs */
+#define TCMU_MAILBOX_FLAG_CAP_OOOC (1 << 0) /* Out-of-order completions */
struct tcmu_mailbox {
__u16 version;