diff options
author | Artemy Kovalyov <artemyko@mellanox.com> | 2016-08-31 05:29:58 +0000 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2016-10-30 15:43:10 +0200 |
commit | dd257efb1e0f8875ed7e42b88837a8dada0d0e41 (patch) | |
tree | c6c89c5710108ff002e6a67e5c2f59c7dd2154ce | |
parent | 5579e1519bad43b874922dbe87c74fdcbd97a7db (diff) | |
download | linux-dd257efb1e0f8875ed7e42b88837a8dada0d0e41.tar.bz2 |
net/mlx5: Ensure SRQ physical address structure endianness
SRQ physical address structure field should be in big-endian format.
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
-rw-r--r-- | include/linux/mlx5/srq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/srq.h b/include/linux/mlx5/srq.h index 33c97dc900f8..1cde0fd53f90 100644 --- a/include/linux/mlx5/srq.h +++ b/include/linux/mlx5/srq.h @@ -55,7 +55,7 @@ struct mlx5_srq_attr { u32 lwm; u32 user_index; u64 db_record; - u64 *pas; + __be64 *pas; }; struct mlx5_core_dev; |