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

2013-07-18 Thread Hefty, Sean
> >> + kern_spec = kern_flow_attr + 1; > >> + ib_spec = flow_attr + 1; > >> + for (i = 0; i < flow_attr->num_of_specs; i++) { > >> + err = kern_spec_to_ib_spec(kern_spec, ib_spec); > >> + if (err) > >> + goto err_free; > >> + flow_attr->size += > >> +

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

2013-07-18 Thread Matan Barak
On 18/7/2013 2:31 AM, Hefty, Sean wrote: +ssize_t ib_uverbs_create_flow(struct ib_uverbs_file *file, + const char __user *buf, int in_len, + int out_len) +{ + struct ib_uverbs_create_flow cmd; + struct ib_uverbs_create_flow_

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

2013-07-17 Thread Hefty, Sean
> +ssize_t ib_uverbs_create_flow(struct ib_uverbs_file *file, > + const char __user *buf, int in_len, > + int out_len) > +{ > + struct ib_uverbs_create_flow cmd; > + struct ib_uverbs_create_flow_resp resp; > + struct ib_uobject