Re: [net-next 06/10] net/mlx5e: change Mellanox references in DIM code

2018-01-05 Thread Andy Gospodarek
On Fri, Jan 05, 2018 at 10:04:50AM +0200, Tal Gilboa wrote: > On 1/4/2018 10:21 PM, Andy Gospodarek wrote: > > From: Andy Gospodarek > > > > Change all mlx5_am* and MLX_AM* references to net_dim and NET_DIM, > MLX_AM->MLX5_AM > > > cq_period_mode = enable ? > > - MLX5_CQ_PERIOD_MOD

Re: [net-next 06/10] net/mlx5e: change Mellanox references in DIM code

2018-01-05 Thread Andy Gospodarek
On Fri, Jan 05, 2018 at 10:04:50AM +0200, Tal Gilboa wrote: > On 1/4/2018 10:21 PM, Andy Gospodarek wrote: > > From: Andy Gospodarek > > > > Change all mlx5_am* and MLX_AM* references to net_dim and NET_DIM, > MLX_AM->MLX5_AM > > > cq_period_mode = enable ? > > - MLX5_CQ_PERIOD_MOD

Re: [net-next 06/10] net/mlx5e: change Mellanox references in DIM code

2018-01-05 Thread Tal Gilboa
On 1/4/2018 10:21 PM, Andy Gospodarek wrote: From: Andy Gospodarek Change all mlx5_am* and MLX_AM* references to net_dim and NET_DIM, MLX_AM->MLX5_AM cq_period_mode = enable ? - MLX5_CQ_PERIOD_MODE_START_FROM_CQE : - MLX5_CQ_PERIOD_MODE_START_FROM_EQE; +

[net-next 06/10] net/mlx5e: change Mellanox references in DIM code

2018-01-04 Thread Andy Gospodarek
From: Andy Gospodarek Change all mlx5_am* and MLX_AM* references to net_dim and NET_DIM, respectively, in code that handles dynamic interrupt moderation. Also change all references from 'am' to 'dim' when used as local variables. Signed-off-by: Andy Gospodarek Acked-by: Tal Gilboa --- driver