aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx5
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2016-11-07 11:22:50 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2016-11-07 11:22:50 +0000
commitadea303c2a28490e3dfa94ff4a41af779833cfb2 (patch)
tree3d45531ab3ac37152f1bab01476bcc2c397b3041 /sys/dev/mlx5
parent91951e3978275a59ae22593ee7481791d88a775d (diff)
downloadsrc-adea303c2a28490e3dfa94ff4a41af779833cfb2.tar.gz
src-adea303c2a28490e3dfa94ff4a41af779833cfb2.zip
Correct checksum fields in the "mlx5_mini_cqe8" structure. The fields
in question are currently not used. Sponsored by: Mellanox Technologies MFC after: 1 week
Notes
Notes: svn path=/head/; revision=308412
Diffstat (limited to 'sys/dev/mlx5')
-rw-r--r--sys/dev/mlx5/device.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/mlx5/device.h b/sys/dev/mlx5/device.h
index 60c8e504d09a..4dec59873244 100644
--- a/sys/dev/mlx5/device.h
+++ b/sys/dev/mlx5/device.h
@@ -1348,15 +1348,16 @@ struct mlx5_ifc_mcia_reg_bits {
struct mlx5_mini_cqe8 {
union {
- u32 rx_hash_result;
- u32 checksum;
+ __be32 rx_hash_result;
+ __be16 checksum;
+ __be16 rsvd;
struct {
- u16 wqe_counter;
+ __be16 wqe_counter;
u8 s_wqe_opcode;
u8 reserved;
} s_wqe_info;
};
- u32 byte_cnt;
+ __be32 byte_cnt;
};
enum {