diff options
author | Artemy Kovalyov <artemyko@mellanox.com> | 2016-08-31 01:29:58 -0400 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2016-10-30 09:43:10 -0400 |
commit | dd257efb1e0f8875ed7e42b88837a8dada0d0e41 (patch) | |
tree | c6c89c5710108ff002e6a67e5c2f59c7dd2154ce | |
parent | 5579e1519bad43b874922dbe87c74fdcbd97a7db (diff) |
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 { | |||
55 | u32 lwm; | 55 | u32 lwm; |
56 | u32 user_index; | 56 | u32 user_index; |
57 | u64 db_record; | 57 | u64 db_record; |
58 | u64 *pas; | 58 | __be64 *pas; |
59 | }; | 59 | }; |
60 | 60 | ||
61 | struct mlx5_core_dev; | 61 | struct mlx5_core_dev; |