IB/mlx5: Fix RSS Toeplitz setup to be aligned with the HW specification
authorYishai Hadas <yishaih@mellanox.com>
Tue, 23 Jul 2019 06:57:29 +0000 (09:57 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 25 Jul 2019 14:45:48 +0000 (11:45 -0300)
commitb7165bd0d6cbb93732559be6ea8774653b204480
tree8e318ad2c90af43da4499b135e30742556fb30ee
parentd191152f43a5869d7dbb50dd2a7a4b3b8b71f1f0
IB/mlx5: Fix RSS Toeplitz setup to be aligned with the HW specification

The specification for the Toeplitz function doesn't require to set the key
explicitly to be symmetric. In case a symmetric functionality is required
a symmetric key can be simply used.

Wrongly forcing the algorithm to symmetric causes the wrong packet
distribution and a performance degradation.

Link: https://lore.kernel.org/r/20190723065733.4899-7-leon@kernel.org
Cc: <stable@vger.kernel.org> # 4.7
Fixes: 28d6137008b2 ("IB/mlx5: Add RSS QP support")
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Alex Vainman <alexv@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c