svn commit: r308412 - head/sys/dev/mlx5
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Nov 7 11:22:52 UTC 2016
Author: hselasky
Date: Mon Nov 7 11:22:50 2016
New Revision: 308412
URL: https://svnweb.freebsd.org/changeset/base/308412
Log:
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
Modified:
head/sys/dev/mlx5/device.h
Modified: head/sys/dev/mlx5/device.h
==============================================================================
--- head/sys/dev/mlx5/device.h Mon Nov 7 11:20:13 2016 (r308411)
+++ head/sys/dev/mlx5/device.h Mon Nov 7 11:22:50 2016 (r308412)
@@ -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 {
More information about the svn-src-all
mailing list