summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Levi <guyle@mellanox.com>2017-08-17 14:50:48 +0200
committerDoug Ledford <dledford@redhat.com>2017-08-24 22:27:11 +0200
commitb23673f86fd0d9ccbc088e88e29899b4d3f0f055 (patch)
treef846612ff901ccf8409c337c0449fd0a60c2a23d
parentIB/mlx4: Fix struct mlx4_ib_create_wq alignment (diff)
downloadlinux-b23673f86fd0d9ccbc088e88e29899b4d3f0f055.tar.xz
linux-b23673f86fd0d9ccbc088e88e29899b4d3f0f055.zip
IB/mlx4: Remove redundant attribute in mlx4_ib_create_qp_rss struct
rx_key_len is not in use and needs to be removed. Fixes: 3078f5f1bd8b ("IB/mlx4: Add support for RSS QP") Signed-off-by: Guy Levi <guyle@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r--include/uapi/rdma/mlx4-abi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/uapi/rdma/mlx4-abi.h b/include/uapi/rdma/mlx4-abi.h
index 0e10102861b5..c55f60e05f86 100644
--- a/include/uapi/rdma/mlx4-abi.h
+++ b/include/uapi/rdma/mlx4-abi.h
@@ -98,8 +98,7 @@ struct mlx4_ib_create_srq_resp {
struct mlx4_ib_create_qp_rss {
__u64 rx_hash_fields_mask;
__u8 rx_hash_function;
- __u8 rx_key_len;
- __u8 reserved[6];
+ __u8 reserved[7];
__u8 rx_hash_key[40];
__u32 comp_mask;
__u32 reserved1;