Re: [PATCH V3 6/6] RDMA CM: Netlink Client

2010-12-20 Thread Jason Gunthorpe
On Sun, Dec 19, 2010 at 04:47:32PM +0200, Nir Muchtar wrote: On Tue, 2010-12-14 at 11:45 -0700, Jason Gunthorpe wrote: On Mon, Dec 13, 2010 at 06:22:50PM +0200, Nir Muchtar wrote: + if (ibnl_put_attr(skb, nlh, + sizeof

Re: [PATCH V3 6/6] RDMA CM: Netlink Client

2010-12-19 Thread Nir Muchtar
On Tue, 2010-12-14 at 11:45 -0700, Jason Gunthorpe wrote: On Mon, Dec 13, 2010 at 06:22:50PM +0200, Nir Muchtar wrote: + if (ibnl_put_attr(skb, nlh, + sizeof id-route.addr.src_addr, +

Re: [PATCH V3 6/6] RDMA CM: Netlink Client

2010-12-19 Thread Or Gerlitz
Nir Muchtar wrote: struct rdma_cm_id_stats { u32 bound_dev_if; u32 resereved_for_ib_bound_dev_ib; I guess we want ...for_ib_bound_dev_if and not _ib Do you mean the file descriptor which is associated with the rdma_event_channel? The event channel is created using ucma and not cma.

Re: [PATCH V3 6/6] RDMA CM: Netlink Client

2010-12-14 Thread Jason Gunthorpe
On Mon, Dec 13, 2010 at 06:22:50PM +0200, Nir Muchtar wrote: + if (ibnl_put_attr(skb, nlh, + sizeof id-route.addr.src_addr, + id-route.addr.src_addr, +