RE: [RFC net-next 7/8] net/mlx5: Add devlink subdev life cycle command support

2019-03-01 Thread Parav Pandit
> -Original Message- > From: Greg KH > Sent: Friday, March 1, 2019 1:19 AM > To: Parav Pandit > Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org; > michal.l...@markovi.net; da...@davemloft.net; Jiri Pirko > > Subject: Re: [RFC net-next 7/8] net/mlx5:

Re: [RFC net-next 7/8] net/mlx5: Add devlink subdev life cycle command support

2019-02-28 Thread Greg KH
On Thu, Feb 28, 2019 at 11:37:51PM -0600, Parav Pandit wrote: > --- /dev/null > +++ b/drivers/net/ethernet/mellanox/mlx5/core/subdev.c > @@ -0,0 +1,55 @@ > +// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB For new stuff, just use GPL-2.0, no need to keep the mistake of the Linux-OpenIB license

[RFC net-next 7/8] net/mlx5: Add devlink subdev life cycle command support

2019-02-28 Thread Parav Pandit
Implement devlink device add/del command which cretes dummy subdev devices that actual driver can bind to using standard device driver model. Signed-off-by: Parav Pandit --- drivers/net/ethernet/mellanox/mlx5/core/Makefile | 1 + drivers/net/ethernet/mellanox/mlx5/core/main.c | 4 ++ ...