scsi: target: core: Add support for RSOC command
Add support for REPORT SUPPORTED OPERATION CODES command according to SPC4. Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com> Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com> Link: https://lore.kernel.org/r/20220906103421.22348-2-d.bogdanov@yadro.com Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
7029e2151a
commit
b9b8782f89
@@ -867,6 +867,18 @@ struct se_device {
|
||||
struct se_device_queue *queues;
|
||||
};
|
||||
|
||||
struct target_opcode_descriptor {
|
||||
u8 support:3;
|
||||
u8 serv_action_valid:1;
|
||||
u8 opcode;
|
||||
u16 service_action;
|
||||
u32 cdb_size;
|
||||
u8 specific_timeout;
|
||||
u16 nominal_timeout;
|
||||
u16 recommended_timeout;
|
||||
u8 usage_bits[];
|
||||
};
|
||||
|
||||
struct se_hba {
|
||||
u16 hba_tpgt;
|
||||
u32 hba_id;
|
||||
|
||||
Reference in New Issue
Block a user