提交 73c0996b 编写于 作者: R Ramachandra K 提交者: Roland Dreier

[SCSI] srp.h: Add I/O Class values

Add enum values for I/O Class values from rev. 10 and rev. 16a SRP
drafts.  The values are used to detect targets that implement obsolete
revisions of SRP, so that the initiator can use the old format for
port identifier when connecting to them.
Signed-off-by: NRamachandra K <rkuchimanchi@silverstorm.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 6c8c1aa2
...@@ -87,6 +87,11 @@ enum srp_login_rej_reason { ...@@ -87,6 +87,11 @@ enum srp_login_rej_reason {
SRP_LOGIN_REJ_CHANNEL_LIMIT_REACHED = 0x00010006 SRP_LOGIN_REJ_CHANNEL_LIMIT_REACHED = 0x00010006
}; };
enum {
SRP_REV10_IB_IO_CLASS = 0xff00,
SRP_REV16A_IB_IO_CLASS = 0x0100
};
struct srp_direct_buf { struct srp_direct_buf {
__be64 va; __be64 va;
__be32 key; __be32 key;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册