aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArtemy Kovalyov <artemyko@mellanox.com>2016-08-31 05:29:58 +0000
committerLeon Romanovsky <leon@kernel.org>2016-10-30 15:43:10 +0200
commitdd257efb1e0f8875ed7e42b88837a8dada0d0e41 (patch)
treec6c89c5710108ff002e6a67e5c2f59c7dd2154ce /include
parentnet/mlx5: Update struct mlx5_ifc_xrqc_bits (diff)
downloadlinux-dev-dd257efb1e0f8875ed7e42b88837a8dada0d0e41.tar.xz
linux-dev-dd257efb1e0f8875ed7e42b88837a8dada0d0e41.zip
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')
-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;