Re: [PATCH RFC net-next 4/4] net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig

2017-06-13 Thread Saeed Mahameed
On Tue, Jun 13, 2017 at 9:21 PM, Jes Sorensen wrote: > On 06/13/2017 01:58 PM, Saeed Mahameed wrote: >> >> On Mon, Jun 12, 2017 at 9:20 PM, Jes Sorensen wrote: >>> >>> On 06/07/2017 07:42 PM, Saeed Mahameed wrote: This patch gives the option to chose whether to compile the driver w

Re: [PATCH RFC net-next 4/4] net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig

2017-06-13 Thread Jes Sorensen
On 06/13/2017 01:58 PM, Saeed Mahameed wrote: On Mon, Jun 12, 2017 at 9:20 PM, Jes Sorensen wrote: On 06/07/2017 07:42 PM, Saeed Mahameed wrote: This patch gives the option to chose whether to compile the driver with or without eswitch/eswitch_offloads(switchdev mode)/en_rep(VF representors)

Re: [PATCH RFC net-next 4/4] net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig

2017-06-13 Thread Saeed Mahameed
On Mon, Jun 12, 2017 at 9:20 PM, Jes Sorensen wrote: > On 06/07/2017 07:42 PM, Saeed Mahameed wrote: >> >> This patch gives the option to chose whether to compile the driver with or >> without eswitch/eswitch_offloads(switchdev mode)/en_rep(VF representors) >> and en_tc offloads. >> >> It also rem

Re: [PATCH RFC net-next 4/4] net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig

2017-06-12 Thread Jes Sorensen
On 06/07/2017 07:42 PM, Saeed Mahameed wrote: This patch gives the option to chose whether to compile the driver with or without eswitch/eswitch_offloads(switchdev mode)/en_rep(VF representors) and en_tc offloads. It also removes most of the above modules headers declarations and stubs out the A

Re: [PATCH RFC net-next 4/4] net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig

2017-06-08 Thread Saeed Mahameed
On Thu, Jun 8, 2017 at 12:35 PM, Or Gerlitz wrote: > On Thu, Jun 8, 2017 at 2:42 AM, Saeed Mahameed wrote: > >> --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c >> +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c >> @@ -2961,9 +2961,8 @@ static int mlx5e_modify_channels_vsd(struct

Re: [PATCH RFC net-next 4/4] net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig

2017-06-08 Thread Or Gerlitz
On Thu, Jun 8, 2017 at 2:42 AM, Saeed Mahameed wrote: > --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c > +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c > @@ -2961,9 +2961,8 @@ static int mlx5e_modify_channels_vsd(struct > mlx5e_channels *chs, bool vsd) > return 0; > }

[PATCH RFC net-next 4/4] net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig

2017-06-07 Thread Saeed Mahameed
This patch gives the option to chose whether to compile the driver with or without eswitch/eswitch_offloads(switchdev mode)/en_rep(VF representors) and en_tc offloads. It also removes most of the above modules headers declarations and stubs out the API functions which are used outside these module