diff options
author | Artemy Kovalyov <artemyko@mellanox.com> | 2016-08-31 08:29:58 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2016-10-30 16:43:10 +0300 |
commit | dd257efb1e0f8875ed7e42b88837a8dada0d0e41 (patch) | |
tree | c6c89c5710108ff002e6a67e5c2f59c7dd2154ce /include/linux/mlx5 | |
parent | 5579e1519bad43b874922dbe87c74fdcbd97a7db (diff) | |
download | linux-dd257efb1e0f8875ed7e42b88837a8dada0d0e41.tar.xz |
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>
Diffstat (limited to 'include/linux/mlx5')
-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; |