Re: [PATCH V1 for-next 3/4] IB/core: Export ib_create/destroy_flow through uverbs

2013-06-24 Thread Roland Dreier
On Tue, Jun 11, 2013 at 4:42 AM, Or Gerlitz ogerl...@mellanox.com wrote: +struct ib_kern_flow { + struct ib_device *device; + struct ib_uobject *uobject; + void *flow_context; +}; I don't think it makes sense to put a structure with kernel pointers in it into

Re: [PATCH V1 for-next 3/4] IB/core: Export ib_create/destroy_flow through uverbs

2013-06-24 Thread Or Gerlitz
On 25/06/2013 00:10, Roland Dreier wrote: On Tue, Jun 11, 2013 at 4:42 AM, Or Gerlitz ogerl...@mellanox.com wrote: +struct ib_kern_flow { + struct ib_device *device; + struct ib_uobject *uobject; + void *flow_context; +}; I don't think it makes sense to put a

[PATCH V1 for-next 3/4] IB/core: Export ib_create/destroy_flow through uverbs

2013-06-11 Thread Or Gerlitz
From: Hadar Hen Zion had...@mellanox.com Implement ib_uverbs_create_flow and ib_uverbs_destroy_flow to support flow steering for user space applications. Signed-off-by: Hadar Hen Zion had...@mellanox.com Signed-off-by: Or Gerlitz ogerl...@mellanox.com --- drivers/infiniband/core/uverbs.h |