ib_mad.h (219820) | ib_mad.h (255932) |
---|---|
1/* 2 * Copyright (c) 2004 Mellanox Technologies Ltd. All rights reserved. 3 * Copyright (c) 2004 Infinicon Corporation. All rights reserved. 4 * Copyright (c) 2004 Intel Corporation. All rights reserved. 5 * Copyright (c) 2004 Topspin Corporation. All rights reserved. 6 * Copyright (c) 2004-2006 Voltaire Corporation. All rights reserved. 7 * 8 * This software is available to you under a choice of one of two --- 137 unchanged lines hidden (view full) --- 146 u8 rmpp_rtime_flags; 147 u8 rmpp_status; 148 __be32 seg_num; 149 __be32 paylen_newwin; 150}; 151 152typedef u64 __bitwise ib_sa_comp_mask; 153 | 1/* 2 * Copyright (c) 2004 Mellanox Technologies Ltd. All rights reserved. 3 * Copyright (c) 2004 Infinicon Corporation. All rights reserved. 4 * Copyright (c) 2004 Intel Corporation. All rights reserved. 5 * Copyright (c) 2004 Topspin Corporation. All rights reserved. 6 * Copyright (c) 2004-2006 Voltaire Corporation. All rights reserved. 7 * 8 * This software is available to you under a choice of one of two --- 137 unchanged lines hidden (view full) --- 146 u8 rmpp_rtime_flags; 147 u8 rmpp_status; 148 __be32 seg_num; 149 __be32 paylen_newwin; 150}; 151 152typedef u64 __bitwise ib_sa_comp_mask; 153 |
154#define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << n)) | 154#define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << (n))) |
155 156/* 157 * ib_sa_hdr and ib_sa_mad structures must be packed because they have 158 * 64-bit fields that are only 32-bit aligned. 64-bit architectures will 159 * lay them out wrong otherwise. (And unfortunately they are sent on 160 * the wire so we can't change the layout) 161 */ 162struct ib_sa_hdr { --- 493 unchanged lines hidden --- | 155 156/* 157 * ib_sa_hdr and ib_sa_mad structures must be packed because they have 158 * 64-bit fields that are only 32-bit aligned. 64-bit architectures will 159 * lay them out wrong otherwise. (And unfortunately they are sent on 160 * the wire so we can't change the layout) 161 */ 162struct ib_sa_hdr { --- 493 unchanged lines hidden --- |