[PATCH] [for-2.6.33] rdma/cm: disallow loopback address for iwarp devices

2010-02-07 Thread Sean Hefty
Since iWarp devices are not guaranteed to support loopback connections, prevent rdma_bind_addr from associating the loopback address with an iWarp device. Signed-off-by: Sean Hefty --- This includes feedback from Steve Wise based on the initial rfc patch. Although this patch is needed to prevent

Re: [ewg] bug 1918 - openmpi broken due to rdma-cm changes

2010-02-07 Thread Steve Wise
Tziporet Koren wrote: On 2/5/2010 6:52 PM, Sean Hefty wrote: BTW: Was this change an artifact of rebasing ofed-1.5.1 on a new kernel version? apparently Sorry to jump late on this thread OFED 1.5.1 was not rebased on a new kernel - its still based on 2.6.30. But many time we tak

RE: [ewg] bug 1918 - openmpi broken due to rdma-cm changes

2010-02-07 Thread Sean Hefty
>Can you identify the source of the regression? ie what was the change >that broke things? My understanding is that support for loopback addresses exposes an existing bug in openmpi. It tries to bind to 127.0.0.1, which now succeeds. Openmpi passes that address to a remote node for use in conne

Re: [RFC Patch] net: reserve ports for applications using fixed port numbers

2010-02-07 Thread Cong Wang
Octavian Purdila wrote: On Friday 05 February 2010 06:45:38 you wrote: Again, using bitmap algorithm is not a problem and it's better, the problem is sysctl interface, how would you plan to interact with users via sysctl/proc if you use bitmap to handle this? I would like to hear more details a

Re: [RFC Patch v2] net: reserve ports for applications using fixedport numbers

2010-02-07 Thread Cong Wang
Tetsuo Handa wrote: Cong Wang wrote: Oh, IIUC, TOMOYO is something like SELinux? Yes. It is a policy based mandatory access control implementation which is applied to not only non root users but also root user. If MAC is enabled, root user cannot freely modify via sysctl() or /proc/sys interfa

Re: [ewg] bug 1918 - openmpi broken due to rdma-cm changes

2010-02-07 Thread Tziporet Koren
On 2/5/2010 6:52 PM, Sean Hefty wrote: BTW: Was this change an artifact of rebasing ofed-1.5.1 on a new kernel version? apparently Sorry to jump late on this thread OFED 1.5.1 was not rebased on a new kernel - its still based on 2.6.30. But many time we take patches that were acce

Re: [ewg] bug 1918 - openmpi broken due to rdma-cm changes

2010-02-07 Thread Steve Wise
Roland Dreier wrote: > My point, though, is that even with this patch in ofed-1.5.1, we still > have an openmpi/IB/rdmacm regression. The only way to avoid this > regression without changing openmpi is to disallow _all_ rdma binds to > 127.0.0.1. Can you identify the source of the regressio

Re: [ewg] bug 1918 - openmpi broken due to rdma-cm changes

2010-02-07 Thread Roland Dreier
> My point, though, is that even with this patch in ofed-1.5.1, we still > have an openmpi/IB/rdmacm regression. The only way to avoid this > regression without changing openmpi is to disallow _all_ rdma binds to > 127.0.0.1. Can you identify the source of the regression? ie what was the cha

Re: [ewg] bug 1918 - openmpi broken due to rdma-cm changes

2010-02-07 Thread Steve Wise
Tziporet Koren wrote: On 2/7/2010 3:22 AM, Steve Wise wrote: Good catch, I'll update the patch and submit for 2.6.33 on Monday. NOTE: This doesn't solve our IB/openmpi regression for ofed-1.5.1. If this patch will be accepted to the kernel 2.6.33 we can take it too If ofed-

Re: [PATCH 0/8] ib/iser: major face lift of the data path code

2010-02-07 Thread Or Gerlitz
Vladislav Bolkhovitin wrote: > Or Gerlitz wrote: > From where did you get those latency numbers? read iostat(8), you'll see that await is "The average time (in milliseconds) for I/O requests issued to the device to be served" > what kind of test did you do? I connected a Linux box through iser

Re: [ewg] bug 1918 - openmpi broken due to rdma-cm changes

2010-02-07 Thread Tziporet Koren
On 2/7/2010 3:22 AM, Steve Wise wrote: Good catch, I'll update the patch and submit for 2.6.33 on Monday. NOTE: This doesn't solve our IB/openmpi regression for ofed-1.5.1. If this patch will be accepted to the kernel 2.6.33 we can take it too Tziporet -- To unsubscribe fro

Re: [PATCH v2] opensm: bug in trap report for MC create(66) and delete(67) traps

2010-02-07 Thread Eli Dorfman (Voltaire)
Hal Rosenstock wrote: > On Fri, Feb 5, 2010 at 9:18 AM, Eli Dorfman wrote: >> On Thu, Feb 4, 2010 at 10:52 PM, Hal Rosenstock >> wrote: >>> On Thu, Feb 4, 2010 at 12:43 PM, Eli Dorfman (Voltaire) >>> wrote: Subject: [PATCH] Wrong handling of MC create and delete traps For these tr