[patch] IB/mthca: make type explicit in mthca_INIT_HCA()

2013-08-16 Thread Dan Carpenter
The type of the second argument to the MTHCA_PUT() macro determines how many bytes will be written to inbox. Judging from the context, the current code is doing the right thing by writing an int of data. But I would feel more comfortable making it explicit that we are writing 32 bits. This is

Re: [PATCH] osm_port_info_rcv.c Issue a log message if we cannot read the MKey of a port

2013-08-16 Thread Hal Rosenstock
On 8/14/2013 6:26 AM, Line Holen wrote: Signed-off-by: Line Holen line.ho...@oracle.com --- diff --git a/opensm/osm_port_info_rcv.c b/opensm/osm_port_info_rcv.c index 7dcd15e..961b376 100644 --- a/opensm/osm_port_info_rcv.c +++ b/opensm/osm_port_info_rcv.c @@ -85,7 +85,7 @@ static void

RE: [PATCH libibverbs] XRC - Sample application issues

2013-08-16 Thread Hefty, Sean
@@ -884,6 +884,13 @@ int main(int argc, char *argv[]) if (ctx.use_event) ibv_ack_cq_events(ctx.recv_cq, num_cq_events); + /* Process should wait before closing its resources to make sure + * latest daemon's response sent via its target QP destined to an XSRQ +

[PATCH opensm] osm_lid_mgr.c: Don't configure MTU and LMC for base SP0

2013-08-16 Thread Hal Rosenstock
From: Alex Netes ale...@mellanox.com For base switch port 0, these values aren't defined/used. Signed-off-by: Alex Netes ale...@mellanox.com Signed-off-by: Hal Rosenstock h...@mellanox.com --- opensm/osm_lid_mgr.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git

RE: [ceph-users] Help needed porting Ceph to RSockets

2013-08-16 Thread Hefty, Sean
I am looking at a multithreaded application here, and I believe that the race is between thread A calling the rpoll() for POLLIN event and thread B calling the shutdown(SHUT_RDWR) for reading and writing of the (r)socket almost immediately afterwards. I modified a test program, and I can