提交 dd257efb 编写于 作者: A Artemy Kovalyov 提交者: Leon Romanovsky

net/mlx5: Ensure SRQ physical address structure endianness

SRQ physical address structure field should be in big-endian format.
Signed-off-by: NArtemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: NLeon Romanovsky <leon@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册