Re: [PATCH mlx5-next] net/mlx5: Fix atomic_mode enum values

2018-09-04 Thread Leon Romanovsky
On Mon, Sep 03, 2018 at 08:19:28PM +0300, Leon Romanovsky wrote: > From: Moni Shoua > > The field atomic_mode is 4 bits wide and therefore can hold values > from 0x0 to 0xf. Remove the unnecessary 20 bit shift that made the values > be incorrect. While that, remove unused enum values. > > Fixes: 5

[PATCH mlx5-next] net/mlx5: Fix atomic_mode enum values

2018-09-03 Thread Leon Romanovsky
From: Moni Shoua The field atomic_mode is 4 bits wide and therefore can hold values from 0x0 to 0xf. Remove the unnecessary 20 bit shift that made the values be incorrect. While that, remove unused enum values. Fixes: 57cda166bbe0 ("net/mlx5: Add DCT command interface") Signed-off-by: Moni Shoua