aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtemy Kovalyov <[email protected]>2016-08-31 05:29:58 +0000
committerLeon Romanovsky <[email protected]>2016-10-30 15:43:10 +0200
commitdd257efb1e0f8875ed7e42b88837a8dada0d0e41 (patch)
treec6c89c5710108ff002e6a67e5c2f59c7dd2154ce
parent5579e1519bad43b874922dbe87c74fdcbd97a7db (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 <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
-rw-r--r--include/linux/mlx5/srq.h2
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;