IB/mlx4: Remove redundant attribute in mlx4_ib_create_qp_rss struct
authorGuy Levi <guyle@mellanox.com>
Thu, 17 Aug 2017 12:50:48 +0000 (15:50 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Aug 2017 20:27:11 +0000 (16:27 -0400)
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>
include/uapi/rdma/mlx4-abi.h

index 0e10102861b5fcdc946478f492824e402a9b64ff..c55f60e05f867953a9ed2d134a7e4e67445bb5ca 100644 (file)
@@ -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;