Re: [PATCH 0/3] IB Netlink Interface and RDMA CM exports

2010-11-15 Thread Jason Gunthorpe
On Mon, Nov 15, 2010 at 05:56:44PM +0200, Nir Muchtar wrote: > > I'd really prefer that this not be seperate modules. I think it would > > be good to stick the core stuff as part of ib_uverbs. Especially since > > it doesn't look too big. For embedded you can have a > > CONFIG_RDMA_NETLINK or some

mxl4 and rpcrdma: connection to 192.168.0.100:20049 on mlx4_0, memreg 5 slots 32 ird 16

2010-11-15 Thread Stephen Cousins
I'm having issues with nfs-rdma. The server has a Mellanox QDR card in it: # ibv_devinfo hca_id: mlx4_0 transport: InfiniBand (0) fw_ver: 2.7.626 node_guid: 0002:c903:0007:f352 sys_image_guid:

RE: [PATCH 2/3] RDMA_CM: Netlink Callbacks

2010-11-15 Thread Hefty, Sean
I'm sure there will be more discussion on the general approach, but some comments on a few implementation details below. > +EXPORT_SYMBOL(cma_get_stats_size); All other exported calls use the prefix 'rdma_cm'. Same comment for cma_get_stats > diff --git a/include/rdma/rdma_cm.h b/include/rdma

Re: [PATCH 0/3] IB Netlink Interface and RDMA CM exports

2010-11-15 Thread Nir Muchtar
> I'd really prefer that this not be seperate modules. I think it would > be good to stick the core stuff as part of ib_uverbs. Especially since > it doesn't look too big. For embedded you can have a > CONFIG_RDMA_NETLINK or something. (For embedded I think it would use > less memory to be able to

Support for Memory windows.

2010-11-15 Thread Romulo Goncalves
Hello, For my PhD project I have been using RDMA over inifiniband. Until now I have used memory regions, but now I would like to also define memory windows. The steps taken are the following ones: Register a memory region. Alloc a window bind the window to the registered memory region. The mem

[PATCH] mlx4: properly mask MGM entry members count

2010-11-15 Thread Eli Cohen
The members_count field size is 24 bits so mask it properly when reading it. Signed-off-by: Eli Cohen --- drivers/net/mlx4/mcg.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/mlx4/mcg.c b/drivers/net/mlx4/mcg.c index c4f88b7..fff20fc 100644 --- a/drivers/n

[PATCH v2] mlx4: Fix IBoE reported rate

2010-11-15 Thread Eli Cohen
The link rate is the multiplication of the link speed in the link width. For Etherent ports the rate is 10G so we use 1 for the witdh and 4 for speed so it yields the correct rate. Signed-off-by: Eli Cohen --- Changes: Use 1X for width and 4 for speed. It should be noted that in the future (for o

Re: [PATCH][trivial] infiniband: Only include linux/mutex.h once in drivers/infiniband/hw/cxgb4/iw_cxgb4.h .

2010-11-15 Thread Jiri Kosina
On Sun, 7 Nov 2010, Jesper Juhl wrote: > Only include the header linux/mutex.h once inside > drivers/infiniband/hw/cxgb4/iw_cxgb4.h > > Signed-off-by: Jesper Juhl > --- > iw_cxgb4.h |1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h > b/drivers/