Re: [PATCH rdma-next 6/9] IB/mlx5: Introduce vendor create and destroy flow methods

2018-07-11 Thread Yishai Hadas
On 7/10/2018 8:44 PM, Jason Gunthorpe wrote: On Sun, Jul 08, 2018 at 01:24:42PM +0300, Leon Romanovsky wrote: +static int UVERBS_HANDLER(MLX5_IB_METHOD_CREATE_FLOW)(struct ib_device *ib_dev, + struct ib_uverbs_file *file, +

Re: [PATCH rdma-next 6/9] IB/mlx5: Introduce vendor create and destroy flow methods

2018-07-10 Thread Jason Gunthorpe
On Sun, Jul 08, 2018 at 01:24:42PM +0300, Leon Romanovsky wrote: > +static int UVERBS_HANDLER(MLX5_IB_METHOD_CREATE_FLOW)(struct ib_device > *ib_dev, > + struct ib_uverbs_file > *file, > + struct

[PATCH rdma-next 6/9] IB/mlx5: Introduce vendor create and destroy flow methods

2018-07-08 Thread Leon Romanovsky
From: Yishai Hadas Introduce vendor create and destroy flow methods on the uverbs flow object. This enables the driver to get its specific device attributes to match the underlay specification while still using the generic ib_flow object for cleanup and code sharing. The IB object's attributes