History

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.

Sheng Yang committed 10 years ago

Commit 32c76de1 parent 0241fd33 files · +12 −1Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/target_core_user.h+1−0
@@ -41,6 +41,7 @@ · 40 unmodified lines
41 41
42#define TCMU_MAILBOX_VERSION 242#define TCMU_MAILBOX_VERSION 2
43#define ALIGN_SIZE 64 /* Should be enough for most CPUs */43#define ALIGN_SIZE 64 /* Should be enough for most CPUs */
44#define TCMU_MAILBOX_FLAG_CAP_OOOC (1 << 0) /* Out-of-order completions */
44 45
45struct tcmu_mailbox {46struct tcmu_mailbox {
46 __u16 version;47 __u16 version;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t