Skip to content

Commit

Permalink
[SCSI] srp.h: Add I/O Class values
Browse files Browse the repository at this point in the history
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: Ramachandra K <rkuchimanchi@silverstorm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Ramachandra K authored and Roland Dreier committed Jun 18, 2006
1 parent 6c8c1aa commit 73c0996
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/scsi/srp.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ enum srp_login_rej_reason {
SRP_LOGIN_REJ_CHANNEL_LIMIT_REACHED = 0x00010006
};

enum {
SRP_REV10_IB_IO_CLASS = 0xff00,
SRP_REV16A_IB_IO_CLASS = 0x0100
};

struct srp_direct_buf {
__be64 va;
__be32 key;
Expand Down

0 comments on commit 73c0996

Please sign in to comment.