Whamcloud - gitweb
LU-10391 socklnd: factor out key calculation for ksnd_peers
[fs/lustre-release.git] / lnet / include / uapi / linux / lnet / lnetst.h
index 3c512b0..8749f8a 100644 (file)
@@ -27,7 +27,6 @@
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
  *
  * Author: Liang Zhen <liangzhen@clusterfs.com>
  */
@@ -515,6 +514,7 @@ struct lst_test_ping_param {
        int png_flags;          /* reserved flags */
 };
 
+/* Both struct srpc_counters and struct sfw_counters are sent over the wire */
 struct srpc_counters {
        __u32 errors;
        __u32 rpcs_sent;
@@ -523,7 +523,7 @@ struct srpc_counters {
        __u32 rpcs_expired;
        __u64 bulk_get;
        __u64 bulk_put;
-} WIRE_ATTR;
+} __attribute__((packed));
 
 struct sfw_counters {
        /** milliseconds since current session started */
@@ -532,6 +532,6 @@ struct sfw_counters {
        __u32 zombie_sessions;
        __u32 brw_errors;
        __u32 ping_errors;
-} WIRE_ATTR;
+} __attribute__((packed));
 
 #endif