diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2018-07-01 15:50:17 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-03 15:46:07 -0600 |
commit | a93b632c4531ff50c43d658447a45cbc11f488fd (patch) | |
tree | 26efdc19770b565ff7c62db133dca5896ceb6174 /drivers/infiniband/hw/mlx4/qp.c | |
parent | e3091644bf2e6d21841de62d8b3e6a526c5172d5 (diff) | |
download | lwn-a93b632c4531ff50c43d658447a45cbc11f488fd.tar.gz lwn-a93b632c4531ff50c43d658447a45cbc11f488fd.zip |
IB/mlx5: Fix GRE flow specification
Currently the driver sets the mask of the gre_protocol to 0xffff
without consideration in the user request.
Fix it by copy the mask from the verbs spec.
Fixes: da2f22ae7707 ("IB/mlx5: Add support for GRE flow specification")
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/qp.c')
0 files changed, 0 insertions, 0 deletions