RE: ibv_post_send/recv kernel path optimizations

2010-12-14 Thread Walukiewicz, Miroslaw
Or, I looked into shared page approach of passing post_send/post_recv info. I still have some concerns. The shared page must be allocated per QP and there should be a common way to allocate such page for each driver. As Jason and Roland said, the best way to pass this parameter through mmap

Re: ibv_post_send/recv kernel path optimizations

2010-12-14 Thread Jason Gunthorpe
On Tue, Dec 14, 2010 at 02:12:56PM +, Walukiewicz, Miroslaw wrote: Or, I looked into shared page approach of passing post_send/post_recv info. I still have some concerns. The shared page must be allocated per QP and there should be a common way to allocate such page for each driver.

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

2010-12-14 Thread Jason Gunthorpe
On Mon, Dec 13, 2010 at 06:22:44PM +0200, Nir Muchtar wrote: static int format_address(void *addr, char *buff) { struct sockaddr_in *addr_in = (struct sockaddr_in *)addr; if (addr_in-sin_addr.s_addr) { sprintf(buff, %s/%d, inet_ntoa(addr_in-sin_addr),

Re: [PATCH V3 5/6] RDMA CM: Save Owning PID

2010-12-14 Thread Jason Gunthorpe
On Mon, Dec 13, 2010 at 06:22:49PM +0200, Nir Muchtar wrote: Save owning PID to id-priv when creating id's/accepting connections. This should be called creator_pid, not owner - to avoid confusion. It may be better to not include it at all. See next letter Jason -- To unsubscribe from this

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, +

opensm configuration question

2010-12-14 Thread Tom Ammon
Hi, I've got an opensm question. With opensm running, I run opensm --help, and it tells me what I am expecting from the configuration I have given it. I configured it for updn routing with /etc/opensm/rootguids.conf as the root guids file: -

Re: opensm configuration question

2010-12-14 Thread Ira Weiny
On Tue, 14 Dec 2010 14:42:32 -0800 Tom Ammon tom.am...@utah.edu wrote: Hi, I've got an opensm question. With opensm running, I run opensm --help, and it tells me what I am expecting from the configuration I have given it. I configured it for updn routing with /etc/opensm/rootguids.conf