target: move transport ID handling to the core
Now that struct se_portal_group contains a protocol identifier field we can take all the code to format an parse protocol identifiers in CDBs into common code instead of leaving this to low-level drivers. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Этот коммит содержится в:

коммит произвёл
Nicholas Bellinger

родитель
2aeeafae6b
Коммит
2650d71e24
@@ -422,22 +422,4 @@ struct srpt_node_acl {
|
||||
struct list_head list;
|
||||
};
|
||||
|
||||
/*
|
||||
* SRP-releated SCSI persistent reservation definitions.
|
||||
*
|
||||
* See also SPC4r28, section 7.6.1 (Protocol specific parameters introduction).
|
||||
* See also SPC4r28, section 7.6.4.5 (TransportID for initiator ports using
|
||||
* SCSI over an RDMA interface).
|
||||
*/
|
||||
|
||||
enum {
|
||||
SCSI_TRANSPORTID_PROTOCOLID_SRP = 4,
|
||||
};
|
||||
|
||||
struct spc_rdma_transport_id {
|
||||
uint8_t protocol_identifier;
|
||||
uint8_t reserved[7];
|
||||
uint8_t i_port_id[16];
|
||||
};
|
||||
|
||||
#endif /* IB_SRPT_H */
|
||||
|
Ссылка в новой задаче
Block a user