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>
This commit is contained in:
Artemy Kovalyov 2016-08-31 05:29:58 +00:00 committed by Leon Romanovsky
parent 5579e1519b
commit dd257efb1e
1 changed files with 1 additions and 1 deletions

View File

@ -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;