Re: [for-next 10/14] net/mlx5: Add shim layer between fs and cmd

2018-03-06 Thread Saeed Mahameed
On Mon, 2018-03-05 at 14:03 -0700, Jason Gunthorpe wrote: > On Mon, Mar 05, 2018 at 12:46:33PM -0800, Saeed Mahameed wrote: > > > +static struct mlx5_flow_cmds mlx5_flow_cmds = { > > 'static const' on these new static structs? > Yes, Will fix. > Jason

Re: [for-next 10/14] net/mlx5: Add shim layer between fs and cmd

2018-03-05 Thread Jason Gunthorpe
On Mon, Mar 05, 2018 at 12:46:33PM -0800, Saeed Mahameed wrote: > +static struct mlx5_flow_cmds mlx5_flow_cmds = { 'static const' on these new static structs? Jason

[for-next 10/14] net/mlx5: Add shim layer between fs and cmd

2018-03-05 Thread Saeed Mahameed
From: Matan Barak The shim layer allows each namespace to define possibly different functionality for add/delete/update commands. The shim layer introduced here, will be used to support flow steering with the FPGA. Signed-off-by: Matan Barak