diff options
| author | Moni Shoua <monis@mellanox.com> | 2018-09-03 20:19:28 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-20 18:45:52 +0100 |
| commit | 5dc1cbcff700b11bea1b5707d6ee0f95c2850e5c (patch) | |
| tree | c73b6462a758f695e892ec4755a0d029526f2d84 /tools/include | |
| parent | b5f6d6de5b12a68154367c36173bbd47d232b5c6 (diff) | |
net/mlx5: Fix atomic_mode enum values
[ Upstream commit aa7e80b220f3a543eefbe4b7e2c5d2b73e2e2ef7 ]
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 <monis@mellanox.com>
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions
