Re: IB/iSER with Linux 3.0 and Debian: Lesson learned

2011-12-20 Thread Sebastian Riemer
2011/12/20 Or Gerlitz : > > Beep, I'd like to better/understand the problem before looking on your > struggle for solution... > I understand that your Debian system runs kernel 3.0 - however, you didn't > say what version of the iscsi initiator utils is provided with that distro > nor what were the

Re: [PATCH 12/14] ib_srp: Rework error handling

2011-12-20 Thread Bart Van Assche
On Mon, Dec 19, 2011 at 10:51 PM, David Dillow wrote: > I haven't parsed it all out from your changes just yet, but I think part > of the reason you may have had problems with req->scmd being null in > srp_handle_recv() is due to a new race between the tear down of the > connection and continuing

Re: [PATCH] opensm/libvendor/osm_vendor_ibumad.c: Fix DR path printing on send timeouts

2011-12-20 Thread Alex Netes
Sorry for late reply... On 15:30 Fri 16 Dec , Hal Rosenstock wrote: > On 12/16/2011 2:51 PM, Ira Weiny wrote: > > On Fri, 16 Dec 2011 11:24:54 -0800 > > Hal Rosenstock wrote: > > > >> > >> Also, make log_send_error into a routine and also call when MAD is > >> cancelled. > >> > >> This patc

Re: [PATCH 13/14] ib_srp: Implement transport layer ping

2011-12-20 Thread Bart Van Assche
On Mon, Dec 19, 2011 at 10:32 PM, David Dillow wrote: > I still think this is already solved in user space, but the new > reconnect model you've implemented doesn't match up with the expected > semantics. It'd be better to match the rest of the SCSI stack for this. Sorry, but I'm afraid there is

Re: [PATCH 10/14] srp_transport: Simplify attribute initialization code

2011-12-20 Thread Bart Van Assche
On Mon, Dec 19, 2011 at 12:07 AM, David Dillow wrote: > On Thu, 2011-12-01 at 20:08 +0100, Bart Van Assche wrote: >> Eliminate the private_rport_attrs[] array and the SETUP_*() macros >> used to set up that array since the information in that array >> duplicates the information in the static devic

Re: [PATCH 13/14] ib_srp: Implement transport layer ping

2011-12-20 Thread Bart Van Assche
On Mon, Dec 19, 2011 at 10:32 PM, David Dillow wrote: > Part of the problem is introduced by allowing for permanent connections > rather than using the familiar dev_loss_tmo and fast_io_fail_tmo > parameters from other SCSI transports. For instance, in the FC > transport, rports are allowed to dis

Re: kernel BUG at drivers/iommu/intel-iommu.c:1767 on F16 3.1.1-2.fc16.x86_64

2011-12-20 Thread Albert Strasheim
Any news on this one? Regards Albert On Thu, Dec 8, 2011 at 8:31 PM, Albert Strasheim wrote: > On Thu, Dec 8, 2011 at 8:29 PM, Roland Dreier wrote: >> On Thu, Dec 8, 2011 at 9:56 AM, Albert Strasheim wrote: >>> I think the BIOS has VT-d enabled. dmesg says: >>> PCI-DMA: Intel(R) Virtualizatio

Re: IB/iSER with Linux 3.0 and Debian: Lesson learned

2011-12-20 Thread Or Gerlitz
Sebastian Riemer wrote: Debian Squeeze (in general 2.6.32 based) comes with open-iscsi 2.0.871.3-2squeeze1. We've used that version together with the in-tree mainline kernel 3.0 OFA kernel modules and Debian Squeeze OFED-1.4 user-space. But there were lots of iSER connection aborts (and even l

Re: [PATCH 4/5] ib/core: add support for extended performance counters in sysfs

2011-12-20 Thread Or Gerlitz
Ira Weiny wrote: Jason Gunthorpe wrote: How do you feel about having counters_ext appear in ethernet mode and disappear in IB mode? That might get complicated with ports which can be either mode. Ira (reviving this thread), At the ib core level, the link layer sysfs attribute is read only.

Re: [PATCH 4/5] ib/core: add support for extended performance counters in sysfs

2011-12-20 Thread Or Gerlitz
Ira Weiny wrote: Jason Gunthorpe wrote: How do you feel about having counters_ext appear in ethernet mode and disappear in IB mode? That might get complicated with ports which can be either mode. Ira (reviving this thread), At the ib core level, the link layer sysfs attribute is read only.

Re: [PATCH 4/5] ib/core: add support for extended performance counters in sysfs

2011-12-20 Thread Or Gerlitz
On 11/8/2011 3:09 AM, Jason Gunthorpe wrote: Roland Dreier wrote: Let's make sure we learn from our mistakes. Let's say we create a new "ext_counters" directory. What should the format of those files be? Should they be assumed to be 64-bit quantities? Do we want to allow some way of indicat

Re: [PATCH 4/5] ib/core: add support for extended performance counters in sysfs

2011-12-20 Thread Jason Gunthorpe
On Tue, Dec 20, 2011 at 02:03:31PM +0200, Or Gerlitz wrote: > >That is a good idea. Let's require counters_ext to be sane: > > > > 1 Hex quantity of unspecified size > > 2 Prefixed with 0x and leading zeros to fill out to size and allow > >userspace discovery of size > > 3 Size must be a mu

Re: [PATCH 4/5] ib/core: add support for extended performance counters in sysfs

2011-12-20 Thread Or Gerlitz
Jason Gunthorpe wrote: > The netdev counters are all the same size and there is some other way > to discover what the size is. I'd like to see that for IB counters > too, but it is probably infeasible. So if we have counters that are > not the same size as netdev counters then some kind of size in

Re: [PATCH 4/5] ib/core: add support for extended performance counters in sysfs

2011-12-20 Thread Jason Gunthorpe
On Tue, Dec 20, 2011 at 09:40:09PM +0200, Or Gerlitz wrote: > Jason Gunthorpe wrote: > > The netdev counters are all the same size and there is some other way > > to discover what the size is. I'd like to see that for IB counters > > too, but it is probably infeasible. So if we have counters that

Re: [PATCH 4/5] ib/core: add support for extended performance counters in sysfs

2011-12-20 Thread Or Gerlitz
Jason Gunthorpe wrote: >> We're talking now only on the IB extended counters who are all 64 bits > netdev counters are 32 bit or 64 bit, depending on how the kernel was > compiled. I think indicating the size explicitly, or always being 64 > bit (and extending all the lessor counters in future) i

[PATCH v2 1/3] opensm/libvendor/osm_vendor_ibumad.c: Fix DR path printing on send timeouts

2011-12-20 Thread Hal Rosenstock
Also, make log_send_error routine and call when MAD is cancelled This patch is an alternative to Ira's v4 patch entitled "opensm: Move Error printing to MAD error call back functions" which pushes this functionality up into the send error callbacks. This patch is currently compile tested only.

[PATCH 2/3] opensm/osm_sa_mad_ctrl.c: Enhance send error log message

2011-12-20 Thread Hal Rosenstock
Signed-off-by: Hal Rosenstock --- diff --git a/opensm/osm_sa_mad_ctrl.c b/opensm/osm_sa_mad_ctrl.c index bde88fa..ddf0bb1 100644 --- a/opensm/osm_sa_mad_ctrl.c +++ b/opensm/osm_sa_mad_ctrl.c @@ -398,9 +398,6 @@ static void sa_mad_ctrl_send_err_callback(IN void *context, OSM_LOG_ENTER(p_

[PATCH 3/3] opensm/osm_perfmgr.c: Enhance send error log message

2011-12-20 Thread Hal Rosenstock
Signed-off-by: Hal Rosenstock --- diff --git a/opensm/osm_perfmgr.c b/opensm/osm_perfmgr.c index ded5a5e..41ef08b 100644 --- a/opensm/osm_perfmgr.c +++ b/opensm/osm_perfmgr.c @@ -212,7 +212,10 @@ static void perfmgr_mad_send_err_callback(void *bind_context, p_mon_node = (monitored_node_t

[PATCH][TRIVIAL] opensm/osm_switch.h: Fix commentary typo

2011-12-20 Thread Hal Rosenstock
Signed-off-by: Hal Rosenstock --- diff --git a/include/opensm/osm_switch.h b/include/opensm/osm_switch.h index a0dfbfc..de567ad 100644 --- a/include/opensm/osm_switch.h +++ b/include/opensm/osm_switch.h @@ -575,7 +575,7 @@ boolean_t osm_switch_get_lft_block(IN const osm_switch_t * p_sw, * *

[PATCH][TRIVIAL] opensm/osmeventplugin/src/osmeventplugin.c: Output LIDs in decimal

2011-12-20 Thread Hal Rosenstock
rather than in hex Signed-off-by: Hal Rosenstock --- diff --git a/osmeventplugin/src/osmeventplugin.c b/osmeventplugin/src/osmeventplugin.c index 9caf184..e4e51a0 100644 --- a/osmeventplugin/src/osmeventplugin.c +++ b/osmeventplugin/src/osmeventplugin.c @@ -141,13 +141,13 @@ static void handle_

Re: IB/iSER with Linux 3.0 and Debian: Lesson learned

2011-12-20 Thread Sebastian Riemer
2011/12/20 Or Gerlitz : > > Beep(2), so your system has distro which is based on kernel 2.6.32 and iscsi > initiator tools version 2.0.871 and per your needs, you've booted it with > kernel 3.0 . > > At this point should you have stop and make sure that this combo works, > iscsi wise (simpler to te

Re: IB/iSER with Linux 3.0 and Debian: Lesson learned

2011-12-20 Thread Joe Landman
On 12/20/2011 03:33 PM, Sebastian Riemer wrote: Now I know why everybody has his own OFED - so do we now. E.g. the QLogic stuff isn't even compilable without the QLogic OFED, because they only put their patches in there. Luckily, we have only Mellanox HCAs in our productive environment. Actual

[PATCH 2/25 v2] rdma/cm: Include AF_IB in loopback and any address checks

2011-12-20 Thread Hefty, Sean
Enhance checks for loopback and any address to support AF_IB in addition to AF_INET and AF_INT6. This will allow future patches to use AF_IB when binding and resolving addresses. Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c | 40 1 files

[PATCH 4/25 v2] rdma/cm: Update port reservation to support AF_IB

2011-12-20 Thread Hefty, Sean
The AF_IB uses a 64-bit service id (SID), which the user can control through the use of a mask. The rdma_cm will assign values to the unmasked portions of the SID based on the selected port space and port number. Because the IB spec divides the SID range into several regions, a SID/mask combinati

[PATCH 5/25 v2] rdma/cm: Allow user to specify AF_IB when binding

2011-12-20 Thread Hefty, Sean
Modify rdma_bind_addr to allow the user to specify AF_IB when binding to a device. AF_IB indicates that the user is not mapping an IP address to the native IB addressing. (The mapping may have already been done, or is not needed.) Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c |

[PATCH 7/25 v2] rdma/cm: Add helper functions to return id address information

2011-12-20 Thread Hefty, Sean
Provide inline helpers to extract source and destination address data from the rdma_cm_id. Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c | 143 + 1 files changed, 72 insertions(+), 71 deletions(-) diff --git a/drivers/infiniband/core/cma.c

[PATCH 6/25 v2] rdma/cm: Do not modify sa_family when setting loopback address

2011-12-20 Thread Hefty, Sean
cma_resolve_loopback is called after an rdma_cm_id has been bound to a specific sa_family and port. Once the source sa_family for the id has been set, do not modify it. Only the actual IP address portion of the source address needs to be set. As part of this fix, we can simplify setting the sourc

[PATCH 11/25 v2] rdma/cm: Add support for AF_IB to rdma_resolve_route

2011-12-20 Thread Hefty, Sean
Allow rdma_resolve_route to handle the case where the user specified the source and destination addresses using AF_IB. Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/core/cma.c b

[PATCH 1/25 v2] rdma/cm: define native IB address

2011-12-20 Thread Hefty, Sean
Define AF_IB and sockaddr_ib to allow the rdma_cm to use native IB addressing. Signed-off-by: Sean Hefty --- include/linux/socket.h |2 + include/rdma/ib.h | 89 2 files changed, 91 insertions(+), 0 deletions(-) create mode 100644 incl

[PATCH 8/25 v2] rdma/cm: Restrict AF_IB loopback to binding to IB devices only

2011-12-20 Thread Hefty, Sean
If a user specifies AF_IB as the source address for a loopback connection, limit the resolution to IB devices only. Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c | 28 1 files changed, 20 insertions(+), 8 deletions(-) diff --git a/drivers/infiniband/

[PATCH 9/25 v2] rdma/cm: Verify that source and dest sa_family are the same

2011-12-20 Thread Hefty, Sean
Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 11915bf..d164b19 100644 --- a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core

[PATCH 3/25 v2] ib/addr: Add AF_IB support to ip_addr_size

2011-12-20 Thread Hefty, Sean
Add support for AF_IB to ip_addr_size, and rename the function to account for the change. Give the compiler more control over whether the call should be inline or not by moving the definition into the .c file, removing the static inline, and exporting it. Signed-off-by: Sean Hefty --- drivers/i

[PATCH 10/25 v2] rdma/cm: Add support for AF_IB to rdma_resolve_addr

2011-12-20 Thread Hefty, Sean
Allow the user to specify the remote address using AF_IB format. When AF_IB is used, the remote address simply needs to be recorded, and no resolution using ARP is done. The local address may still need to be matched with a local IB device. Signed-off-by: Sean Hefty --- drivers/infiniband/core/

[PATCH 13/25 v2] rdma/cm: Expose private data when using AF_IB

2011-12-20 Thread Hefty, Sean
If the source or destination address is AF_IB, then do not reserve a portion of the private data in the IB CM REQ or SIDR REQ messages for the cma header. Instead, all private data should be exported to the user. When AF_IB is used, the rdma cm does not have sufficient information to fill in the

[PATCH 14/25 v2] rdma/cm: Set qkey for AF_IB

2011-12-20 Thread Hefty, Sean
Allow the user to specify the qkey when using AF_IB. The qkey is added to struct rdma_ucm_conn_param in place of a reserved field, but for backwards compatability, is only accessed if the associated rdma_cm_id is using AF_IB. Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c | 35 +

[PATCH 15/25 v2] rdma/cm: Only listen on IB devices when using AF_IB

2011-12-20 Thread Hefty, Sean
If an rdma_cm_id is bound to AF_IB, with a wild card address, only listen on IB devices. Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 006

[PATCH 12/25 v2] rdma/cm: Add support for AF_IB to cma_get_service_id

2011-12-20 Thread Hefty, Sean
cma_get_service_id forms the service ID based on the port space and port number of the rdma_cm_id. Extend the call to support AF_IB, which contains the service ID directly. This will be needed to support any arbitrary SID. Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c |3 +++

[PATCH 17/25 v2] ib/sa: Export function to pack a path record into wire format

2011-12-20 Thread Hefty, Sean
Allow converting from struct ib_sa_path_rec to the IB defined SA path record wire format. This will be used to report path data from the rdma cm into user space. Signed-off-by: Sean Hefty --- drivers/infiniband/core/sa_query.c |6 ++ include/rdma/ib_sa.h |6 ++ 2 f

[PATCH 16/25 v2] rdma/ucm: Support querying for AF_IB addresses

2011-12-20 Thread Hefty, Sean
The sockaddr structure for AF_IB is larger than sockaddr_in6. The rdma cm user space ABI uses the latter to exchange address information between user space and the kernel. To support querying for larger addresses, define a new query command that exchanges data using sockaddr_storage, rather than s

[PATCH 19/25 v2] rdma/cm: Export cma_get_service_id

2011-12-20 Thread Hefty, Sean
Allow the rdma_ucm to query the IB service ID formed or allocated by the rdma_cm by exporting the cma_get_service_id functionality. Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c | 13 +++-- include/rdma/rdma_cm.h|7 +++ 2 files changed, 14 insertions(+), 6

[PATCH 18/25 v2] rdma/ucm: Support querying when IB paths are not reversible

2011-12-20 Thread Hefty, Sean
The current query_route call can return up to two path records. The assumption being that one is the primary path, with optional support for an alternate path. In both cases, the paths are assumed to be reversible and are used to send CM MADs. With the ability to manually set IB path data, the rd

[PATCH 22/25 v2] rdma/ucm: Allow user space to bind to AF_IB

2011-12-20 Thread Hefty, Sean
Support user space binding to addresses using AF_IB. Since sockaddr_ib is larger than sockaddr_in6, we need to define a larger structure when binding using AF_IB. This time we use sockaddr_storage to cover future cases. Signed-off-by: Sean Hefty --- drivers/infiniband/core/ucma.c | 27 ++

[PATCH 20/25 v2] rdma/ucm: Add ability to query GID addresses

2011-12-20 Thread Hefty, Sean
Part of address resolution is mapping IP addresses to IB GIDs. With the changes to support querying larger addresses and more path records, also provide a way to query IB GIDs after resolution completes. Signed-off-by: Sean Hefty --- drivers/infiniband/core/ucma.c | 50

[PATCH 21/25 v2] rdma/ucm: Name changes to indicate only IP addresses supported

2011-12-20 Thread Hefty, Sean
Several commands into the RDMA CM from user space are restricted to supporting addresses which fit into a sockaddr_in6 structure: bind address, resolve address, and join multicast. With the addition of AF_IB, we need to support addresses which are larger than sockaddr_in6. This will be done by ad

[PATCH 23/25 v2] rdma/ucm: Allow user space to pass AF_IB into resolve

2011-12-20 Thread Hefty, Sean
Allow user space applications to call resolve_addr using AF_IB. To support sockaddr_ib, we need to define a new structure capable of handling the larger address size. Signed-off-by: Sean Hefty --- drivers/infiniband/core/ucma.c | 30 +- include/rdma/rdma_user_cm.h

[PATCH 25/25 v2] rdma/cm: Export AF_IB statistics

2011-12-20 Thread Hefty, Sean
Report AF_IB source and destination addresses through netlink interface. Signed-off-by: Sean Hefty --- drivers/infiniband/core/cma.c | 37 ++--- 1 files changed, 10 insertions(+), 27 deletions(-) diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/c

[PATCH 24/25 v2] rdma/ucm: Allow user space to specify AF_IB when joining multicast

2011-12-20 Thread Hefty, Sean
Allow user space applications to join multicast groups using MGIDs directly. MGIDs may be passed using AF_IB addresses. Since the current multicast join command only supports addresses as large as sockaddr_in6, define a new structure for joining addresses specified using sockaddr_ib. Since AF_IB

[PATCH 0/25 v2] rdma/cm: Add support for native Infiniband addressing

2011-12-20 Thread Hefty, Sean
This is the full patch series for adding the ability to handle native Infiniband addressing to the rdma_cm. It is also available from: git://git.openfabrics.org/~shefty/rdma-dev.git af-ib Adding support for native IB addressing allows us to offload name and/or address translation servi

Re: IB/iSER with Linux 3.0 and Debian: Lesson learned

2011-12-20 Thread Or Gerlitz
Sebastian Riemer wrote: > 2011/12/20 Or Gerlitz : >> Beep(2), so your system has distro which is based on kernel 2.6.32 and iscsi >> initiator tools version 2.0.871 and per your needs, you've booted it with >> kernel 3.0 . >> At this point should you have stop and make sure that this combo works

Re: [PATCH v2 1/3] opensm/libvendor/osm_vendor_ibumad.c: Fix DR path printing on send timeouts

2011-12-20 Thread Ira Weiny
On Tue, 20 Dec 2011 12:08:14 -0800 Hal Rosenstock wrote: > > Also, make log_send_error routine and call when MAD is cancelled > > This patch is an alternative to Ira's v4 patch entitled > "opensm: Move Error printing to MAD error call back functions" > which pushes this functionality up into t

RE: [PATCH] ib/core: Protect QP mcast list

2011-12-20 Thread Hefty, Sean
> @@ -1910,12 +1911,15 @@ ssize_t ib_uverbs_attach_mcast(struct ib_uverbs_file > *file, > > obj = container_of(qp->uobject, struct ib_uqp_object, uevent.uobject); > > + spin_lock(&qp->mcast_lock); > list_for_each_entry(mcast, &obj->mcast_list, list) > if (cmd.mlid ==

Re: [PATCH] ib/core: Protect QP mcast list

2011-12-20 Thread Roland Dreier
On Mon, Dec 19, 2011 at 11:19 PM, Eli Cohen wrote: > I considered this but that means that you serialize attach/detach > operations at ib core. Using a spinlock to protect the list allows > more concurrency. After all, we hit this bug since concurrency of such > operations occur in real life appli

[PATCH 0/8] Fix virtual and physical address types

2011-12-20 Thread Ben Hutchings
This series fixes compiler warnings on some architectures about implicit conversions and narrowing conversions between pointer and integer types. Please apply these to the appropriate trees. Ben. Ben Hutchings (8): IB/cxgb4: Fix formatting of physical address farsync: Fix confusion about DMA

[PATCH 1/8] IB/cxgb4: Fix formatting of physical address

2011-12-20 Thread Ben Hutchings
Physical addresses may be wider than virtual addresses (e.g. on i386 with PAE) and must not be formatted with %p. Signed-off-by: Ben Hutchings --- The resource could alternately be formatted with %Pr. Ben. drivers/infiniband/hw/cxgb4/device.c |4 ++-- 1 files changed, 2 insertions(+), 2 de

Re: [PATCH 13/14] ib_srp: Implement transport layer ping

2011-12-20 Thread David Dillow
On Tue, 2011-12-20 at 10:13 +, Bart Van Assche wrote: > On Mon, Dec 19, 2011 at 10:32 PM, David Dillow wrote: > > I still think this is already solved in user space, but the new > > reconnect model you've implemented doesn't match up with the expected > > semantics. It'd be better to match the

Re: [PATCH 1/8] IB/cxgb4: Fix formatting of physical address

2011-12-20 Thread Joe Perches
On Wed, 2011-12-21 at 01:32 +, Ben Hutchings wrote: > Physical addresses may be wider than virtual addresses (e.g. on i386 > with PAE) and must not be formatted with %p. [] > The resource could alternately be formatted with %Pr. > diff --git a/drivers/infiniband/hw/cxgb4/device.c > b/drivers/i

Re: [PATCH 1/8] IB/cxgb4: Fix formatting of physical address

2011-12-20 Thread Ben Hutchings
On Tue, 2011-12-20 at 18:35 -0800, Joe Perches wrote: > On Wed, 2011-12-21 at 01:32 +, Ben Hutchings wrote: > > Physical addresses may be wider than virtual addresses (e.g. on i386 > > with PAE) and must not be formatted with %p. > [] > > The resource could alternately be formatted with %Pr. >

Re: [PATCH 13/14] ib_srp: Implement transport layer ping

2011-12-20 Thread David Dillow
On Tue, 2011-12-20 at 10:27 +, Bart Van Assche wrote: > On Mon, Dec 19, 2011 at 10:32 PM, David Dillow wrote: > > Part of the problem is introduced by allowing for permanent connections > > rather than using the familiar dev_loss_tmo and fast_io_fail_tmo > > parameters from other SCSI transpor

Re: [PATCH 10/14] srp_transport: Simplify attribute initialization code

2011-12-20 Thread David Dillow
On Tue, 2011-12-20 at 10:21 +, Bart Van Assche wrote: > On Mon, Dec 19, 2011 at 12:07 AM, David Dillow wrote: > > They use a BUG_ON instead of WARN_ON, which > > seems more appropriate, since we just overran a buffer... > > Sorry, but I disagree. The guideline for Linux kernel code is to use

Re: [PATCH 12/14] ib_srp: Rework error handling

2011-12-20 Thread David Dillow
On Tue, 2011-12-20 at 09:01 +, Bart Van Assche wrote: > On Mon, Dec 19, 2011 at 10:51 PM, David Dillow wrote: > > I haven't parsed it all out from your changes just yet, but I think part > > of the reason you may have had problems with req->scmd being null in > > srp_handle_recv() is due to a

Re: [PATCH] ib/core: Protect QP mcast list

2011-12-20 Thread Eli Cohen
On Tue, Dec 20, 2011 at 04:36:35PM -0800, Roland Dreier wrote: > On Mon, Dec 19, 2011 at 11:19 PM, Eli Cohen wrote: > > I considered this but that means that you serialize attach/detach > > operations at ib core. Using a spinlock to protect the list allows > > more concurrency. After all, we hit t

Re: IB/iSER with Linux 3.0 and Debian: Lesson learned

2011-12-20 Thread Sebastian Riemer
> >> Would it help, if we provide our patches for open-iscsi and IB/iSER> >> 2.6.32 to bring that into mainline OFED? > > As Or notes, OFED is providing the kernel modules more than the iscsi code > drop.  Would be better for all (cough cough) to push changes back to the > iscsi initiator maintai

Re: IB/iSER with Linux 3.0 and Debian: Lesson learned

2011-12-20 Thread Sebastian Riemer
2011/12/20 Or Gerlitz : > > horses, please, stay at home, or at least run a little bit slower, > just for you - from 2 minutes > ago - iser works well with 3.2.0-rc5 (its say -dirty b/c its a > development system and the kernel has some patches, but not iser ones) > and iscsi-initiator-utils of 6.2