[RFC-v4 2/9] iscsi-target: Add iscsit_transport API template

2013-04-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Add basic struct iscsit_transport API template to allow iscsi-target for running with external transport modules using existing iscsi_target_core.h code. For all external modules, this calls try_module_get() and module_put() to obtain + release an external iscsit_transpo

[RFC-v4 4/9] iscsi-target: Add iser-target parameter keys + setup during login

2013-04-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds RDMAExtensions, InitiatorRecvDataSegmentLength and TargetRecvDataSegmentLength parameters keys necessary for iser-target login to occur. This includes setting the necessary parameters during login path code within iscsi_login_zero_tsih_s2(), and currently

[RFC-v4 6/9] iscsi-target: Refactor RX PDU logic + export request PDU handling

2013-04-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch refactors existing traditional iscsi RX side PDU handling to use iscsit_transport, and exports the necessary logic for external transport modules. This includes: - Refactor iscsit_handle_scsi_cmd() into PDU setup / processing - Add updated iscsit_handle_scsi_

[RFC-v4 7/9] iscsi-target: Refactor TX queue logic + export response PDU creation

2013-04-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch refactors TX immediate + response queue handling to use the new iscsit_transport API callers, and exports the necessary traditional iscsi PDU response creation functions for iser-target to utilize. This includes: - Add iscsit_build_datain_pdu() for DATAIN PDU

[RFC-v4 5/9] iscsi-target: Add per transport iscsi_cmd alloc/free

2013-04-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts struct iscsi_cmd memory allocation + free to use ->iscsit_alloc_cmd() iscsit_transport API caller, and export iscsit_allocate_cmd() symbols Also add iscsi_cmd->release_cmd() to be used seperately from iscsit_transport for connection/session shutdown.

[RFC-v4 3/9] iscsi-target: Initial traditional TCP conversion to iscsit_transport

2013-04-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch performs the initial conversion of existing traditional iscsi to use iscsit_transport API callers. This includes: - iscsi-np cleanups for iscsit_transport_type - Add iscsi-np transport calls w/ ->iscsit_setup_up() and ->iscsit_free_np() - Convert login thread

[RFC-v4 1/9] target: Add export of target_get_sess_cmd symbol

2013-04-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Export target_get_sess_cmd() symbol so that it can be used by iscsi-target. Signed-off-by: Nicholas Bellinger --- drivers/target/target_core_transport.c |4 ++-- include/target/target_core_fabric.h|2 +- 2 files changed, 3 insertions(+), 3 deletions(-) dif

[RFC-v4 8/9] iscsi-target: Add iser network portal attribute

2013-04-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds a new network portal attribute for iser, that lives under existing iscsi-target configfs layout at: /sys/kernel/config/target/iscsi/$TARGETNAME/$TPGT/np/$PORTAL/iser When lio_target_np_store_iser() is enabled, iscsit_tpg_add_network_portal() will atte

[RFC-v4 0/9] Add support for iSCSI Extensions for RDMA (ISER) target mode

2013-04-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi folks, This series is the forth RFC for iSCSI Extensions for RDMA (ISER) target mode support planned for an upcoming v3.10 merge. This series refactors existing traditional iscsi-target mode logic in order for external ib_isert.ko module code to function with areas c

IPOIB-CM MTU

2013-04-12 Thread Wendy Cheng
We're working on a RHEL based system (2.6.32-279.el6.x86_64) that has slower CPUs (vs. bigger Xeon boxes). The IB stacks are on top of OFA 1.5.4.1 and a mlx adapter (mlx4_0). It is expected that enabling CM will boost IPOIB bandwidth (measured by Netpipe) due to larger MTU size (65520). Unfortunat

Re: [PATCH 2/2] Ad IB_MTU_1500|9000 enums.

2013-04-12 Thread Jeff Squyres (jsquyres)
On Apr 9, 2013, at 10:44 PM, "Weiny, Ira" wrote: > As an aside I like the use of RDMA_MTU_* for these values. Again to > distinguish them from the IBTA values. But I know that is poor form. So what's the right way to move forward on this? Is it this: enum ib_mtu { IB_MTU_256 = 1,

[ANNOUNCE] SRP: ProfitBricks publishes its SRP Initiator patches

2013-04-12 Thread Sebastian Riemer
Hello everyone, I'm very proud to announce that we finally publish our SRP initiator patches we've been working on for quite some time now. In the first step we publish our way of failing IO fast as we've noticed that the way Bart Van Assche does that in his GitHub repository doesn't match our re