Commit 553b08d9 authored by Dmitry Bogdanov's avatar Dmitry Bogdanov Committed by Martin K. Petersen

scsi: target: core: Dynamic opcode support in RSOC

Report supported opcodes depending on a dynamic device configuration.
Reviewed-by: default avatarRoman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: default avatarDmitry Bogdanov <d.bogdanov@yadro.com>
Link: https://lore.kernel.org/r/20220906103421.22348-4-d.bogdanov@yadro.comReviewed-by: default avatarMike Christie <michael.christie@oracle.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 0016e820
This diff is collapsed.
...@@ -876,6 +876,7 @@ struct target_opcode_descriptor { ...@@ -876,6 +876,7 @@ struct target_opcode_descriptor {
u8 specific_timeout; u8 specific_timeout;
u16 nominal_timeout; u16 nominal_timeout;
u16 recommended_timeout; u16 recommended_timeout;
bool (*enabled)(struct se_cmd *cmd);
u8 usage_bits[]; u8 usage_bits[];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment