add new function pointers to support ISCSI_TCP_CXGB4 transport, 1. void (*iscsit_rx_pdu)(struct iscsi_conn *); Rx thread uses this for receiving and processing iSCSI PDU in full feature phase. 2. void (*iscsit_release_cmd)(struct iscsi_conn *, struct iscsi_cmd *); This function pointer is used for releasing transport resources associated with the cmd. 3. int (*iscsit_validate_params)(struct iscsi_conn *); This function is used for checking whether default connection operational parameters are supported by the transport, if not transport driver will set the supported value. Signed-off-by: Varun Prakash <varun@xxxxxxxxxxx> --- include/target/iscsi/iscsi_transport.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/target/iscsi/iscsi_transport.h b/include/target/iscsi/iscsi_transport.h index a47124b..83228a7 100644 --- a/include/target/iscsi/iscsi_transport.h +++ b/include/target/iscsi/iscsi_transport.h @@ -22,6 +22,9 @@ struct iscsit_transport { int (*iscsit_queue_data_in)(struct iscsi_conn *, struct iscsi_cmd *); int (*iscsit_queue_status)(struct iscsi_conn *, struct iscsi_cmd *); void (*iscsit_aborted_task)(struct iscsi_conn *, struct iscsi_cmd *); + void (*iscsit_rx_pdu)(struct iscsi_conn *); + void (*iscsit_release_cmd)(struct iscsi_conn *, struct iscsi_cmd *); + int (*iscsit_validate_params)(struct iscsi_conn *); enum target_prot_op (*iscsit_get_sup_prot_ops)(struct iscsi_conn *); }; -- 2.0.2 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html