Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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: Ramachandra K <rkuchimanchi@silverstorm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

authored by

Ramachandra K and committed by
Roland Dreier
73c0996b 6c8c1aa2

+5
+5
include/scsi/srp.h
··· 87 87 SRP_LOGIN_REJ_CHANNEL_LIMIT_REACHED = 0x00010006 88 88 }; 89 89 90 + enum { 91 + SRP_REV10_IB_IO_CLASS = 0xff00, 92 + SRP_REV16A_IB_IO_CLASS = 0x0100 93 + }; 94 + 90 95 struct srp_direct_buf { 91 96 __be64 va; 92 97 __be32 key;