Commit dd257efb authored by Artemy Kovalyov's avatar Artemy Kovalyov Committed by Leon Romanovsky

net/mlx5: Ensure SRQ physical address structure endianness

SRQ physical address structure field should be in big-endian format.
Signed-off-by: default avatarArtemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 5579e151
...@@ -55,7 +55,7 @@ struct mlx5_srq_attr { ...@@ -55,7 +55,7 @@ struct mlx5_srq_attr {
u32 lwm; u32 lwm;
u32 user_index; u32 user_index;
u64 db_record; u64 db_record;
u64 *pas; __be64 *pas;
}; };
struct mlx5_core_dev; struct mlx5_core_dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment