Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2016 08:57:36 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r308682 - stable/10/sys/dev/mlx5
Message-ID:  <201611150857.uAF8vaPC066117@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Nov 15 08:57:36 2016
New Revision: 308682
URL: https://svnweb.freebsd.org/changeset/base/308682

Log:
  MFC r308412:
  Correct checksum fields in the "mlx5_mini_cqe8" structure. The fields
  in question are currently not used.
  
  Sponsored by:	Mellanox Technologies

Modified:
  stable/10/sys/dev/mlx5/device.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/mlx5/device.h
==============================================================================
--- stable/10/sys/dev/mlx5/device.h	Tue Nov 15 08:56:59 2016	(r308681)
+++ stable/10/sys/dev/mlx5/device.h	Tue Nov 15 08:57:36 2016	(r308682)
@@ -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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611150857.uAF8vaPC066117>