diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2017-12-24 14:51:25 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-28 11:33:14 -0700 |
commit | 4e2b53a5cb5a8243284dd7ec4980d2dc556e79f0 (patch) | |
tree | 297bc2a29769259e5728524dcaeae732847f683c /drivers/infiniband/hw/mlx5 | |
parent | 07d84f7b6adf3ea0d9f8c2bbee412a2a7aaa83e5 (diff) | |
download | op-kernel-dev-4e2b53a5cb5a8243284dd7ec4980d2dc556e79f0.zip op-kernel-dev-4e2b53a5cb5a8243284dd7ec4980d2dc556e79f0.tar.gz |
IB/mlx5: Report inner RSS capability
Add missing inner RSS support capability as part of
the RSS supported fields.
In addition change MLX5_RX_HASH_INNER to 1UL << 31 in
order to define it as unsigned.
Fixes: 309fa3470fca ("IB/mlx5: Add support for RSS on the inner packet")
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5')
-rw-r--r-- | drivers/infiniband/hw/mlx5/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 46c7367..fb38da5 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c @@ -680,7 +680,8 @@ static int mlx5_ib_query_device(struct ib_device *ibdev, MLX5_RX_HASH_SRC_PORT_TCP | MLX5_RX_HASH_DST_PORT_TCP | MLX5_RX_HASH_SRC_PORT_UDP | - MLX5_RX_HASH_DST_PORT_UDP; + MLX5_RX_HASH_DST_PORT_UDP | + MLX5_RX_HASH_INNER; resp.response_length += sizeof(resp.rss_caps); } } else { |