![Nicholas Bellinger](/assets/img/avatar_default.png)
The Linux-iSCSI.org target module is a full featured in-kernel software implementation of iSCSI target mode (RFC-3720) for the current WIP mainline target v4.1 infrastructure code for the v3.1 kernel. More information can be found here: http://linux-iscsi.org/wiki/ISCSI This includes support for: * RFC-3720 defined request / response state machines and support for all defined iSCSI operation codes from Section 10.2.1.2 using libiscsi include/scsi/iscsi_proto.h PDU definitions * Target v4.1 compatible control plane using the generic layout in target_core_fabric_configfs.c and fabric dependent attributes within /sys/kernel/config/target/iscsi/ subdirectories. * Target v4.1 compatible iSCSI statistics based on RFC-4544 (iSCSI MIBS) * Support for IPv6 and IPv4 network portals in M:N mapping to TPGs * iSCSI Error Recovery Hierarchy support * Per iSCSI connection RX/TX thread pair scheduling affinity * crc32c + crc32c_intel SSEv4 instruction offload support using libcrypto * CHAP Authentication support using libcrypto * Conversion to use internal SGl allocation with iscsit_alloc_buffs() -> transport_generic_map_mem_to_cmd() (nab: Fix iscsi_proto.h struct scsi_lun usage from linux-next in commit: iscsi: Use struct scsi_lun in iscsi structs instead of u8[8]) (nab: Fix 32-bit compile warnings) Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Andy Grover <agrover@redhat.com> Acked-by: Roland Dreier <roland@kernel.org> Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
27 lines
1.4 KiB
C
27 lines
1.4 KiB
C
#ifndef ISCSI_TARGET_ERL1_H
|
|
#define ISCSI_TARGET_ERL1_H
|
|
|
|
extern int iscsit_dump_data_payload(struct iscsi_conn *, u32, int);
|
|
extern int iscsit_create_recovery_datain_values_datasequenceinorder_yes(
|
|
struct iscsi_cmd *, struct iscsi_datain_req *);
|
|
extern int iscsit_create_recovery_datain_values_datasequenceinorder_no(
|
|
struct iscsi_cmd *, struct iscsi_datain_req *);
|
|
extern int iscsit_handle_recovery_datain_or_r2t(struct iscsi_conn *, unsigned char *,
|
|
u32, u32, u32, u32);
|
|
extern int iscsit_handle_status_snack(struct iscsi_conn *, u32, u32,
|
|
u32, u32);
|
|
extern int iscsit_handle_data_ack(struct iscsi_conn *, u32, u32, u32);
|
|
extern int iscsit_dataout_datapduinorder_no_fbit(struct iscsi_cmd *, struct iscsi_pdu *);
|
|
extern int iscsit_recover_dataout_sequence(struct iscsi_cmd *, u32, u32);
|
|
extern void iscsit_clear_ooo_cmdsns_for_conn(struct iscsi_conn *);
|
|
extern void iscsit_free_all_ooo_cmdsns(struct iscsi_session *);
|
|
extern int iscsit_execute_ooo_cmdsns(struct iscsi_session *);
|
|
extern int iscsit_execute_cmd(struct iscsi_cmd *, int);
|
|
extern int iscsit_handle_ooo_cmdsn(struct iscsi_session *, struct iscsi_cmd *, u32);
|
|
extern void iscsit_remove_ooo_cmdsn(struct iscsi_session *, struct iscsi_ooo_cmdsn *);
|
|
extern void iscsit_mod_dataout_timer(struct iscsi_cmd *);
|
|
extern void iscsit_start_dataout_timer(struct iscsi_cmd *, struct iscsi_conn *);
|
|
extern void iscsit_stop_dataout_timer(struct iscsi_cmd *);
|
|
|
|
#endif /* ISCSI_TARGET_ERL1_H */
|