]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Use proper spec flow label type
authorDaria Velikovsky <daria@mellanox.com>
Mon, 7 May 2018 07:20:02 +0000 (10:20 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 9 May 2018 14:39:50 +0000 (10:39 -0400)
commitcb6796bb276f455cdd52870796aaf1918ac01b90
treebd9b96fb4164b9e5e4f6aafe22577b8e5c9801aa
parent3ee3851942ad61172256849bd5b3ee69f80a55e4
RDMA/mlx5: Use proper spec flow label type

Flow label is defined as u32 in the in ipv6 flow spec, but
used internally in the flow specs parsing as u8. That was
causing loss of part of flow_label value.

Fixes: 87723cc836a76 ('IB/mlx5: Add support to match inner packet fields')
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Daria Velikovsky <daria@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c