diff options
author | Sheng Yang <sheng@yasker.org> | 2016-03-01 01:02:15 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2016-03-11 06:49:09 +0100 |
commit | 32c76de3466ed2a875e36c140ac4e3800fdfab6e (patch) | |
tree | 1296fc2d9efffb9deb50de671be4f69d5af7dcde /include/uapi | |
parent | target/user: Fix size_t format-spec build warning (diff) | |
download | linux-32c76de3466ed2a875e36c140ac4e3800fdfab6e.tar.xz linux-32c76de3466ed2a875e36c140ac4e3800fdfab6e.zip |
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.h | 1 |
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; |