Re: [openib-general] [PATCH 3/7] IB/ipath - performance improvements via mmap of queues

2006-08-23 Thread Roland Dreier
Ralph> Not quite. If the kernel driver is old, libipathverbs is Ralph> using the old functions which make system calls instead of Ralph> doing the newer mmap stuff. libipathverbs doesn't need to Ralph> attempt calling mmap() if it knows the driver doesn't Ralph> support it. You

Re: [openib-general] [PATCH 3/7] IB/ipath - performance improvements via mmap of queues

2006-08-23 Thread Ralph Campbell
On Wed, 2006-08-23 at 14:50 -0700, Roland Dreier wrote: > I applied this, but I'm wondering if this: > > > +int ipath_resize_cq(struct ibv_cq *ibcq, int cqe) > > { > > + struct ipath_cq*cq = to_icq(ibcq); > > + struct ibv_resize_cqcmd; > > + struct ipath_resize

Re: [openib-general] [PATCH 3/7] IB/ipath - performance improvements via mmap of queues

2006-08-23 Thread Roland Dreier
I applied this, but I'm wondering if this: > +int ipath_resize_cq(struct ibv_cq *ibcq, int cqe) > { > +struct ipath_cq*cq = to_icq(ibcq); > +struct ibv_resize_cqcmd; > +struct ipath_resize_cq_resp resp; > +size_t size;

[openib-general] [PATCH 3/7] IB/ipath - performance improvements via mmap of queues

2006-08-11 Thread Ralph Campbell
Improve the performance of the userspace verbs ibv_poll_cq(), ibv_post_recv(), and ibv_post_srq_recv(). Signed-off-by: Ralph Campbell <[EMAIL PROTECTED]> Index: src/userspace/libipathverbs/src/verbs.c === --- src/userspace/libipathve