[ofa-general] [PATCH] ib_types.h: Adding BKEY violation trap (259)
Itai Baz
itaib at mellanox.com
Tue Mar 17 07:14:41 PDT 2009
Hi Sasha,
The following patch adds B_Key violation trap definition.
Signed-off-by: Itai Baz <itaib at mellanox.co.il>
---
opensm/include/iba/ib_types.h | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/opensm/include/iba/ib_types.h b/opensm/include/iba/ib_types.h
index e7cbb79..eac85f3 100644
--- a/opensm/include/iba/ib_types.h
+++ b/opensm/include/iba/ib_types.h
@@ -7162,6 +7162,17 @@ typedef struct _ib_mad_notice_attr // Total Size calc Accumulated
ib_net16_t sw_lid; // 2
uint8_t port_no; // 1
} PACK_SUFFIX ntc_259;
+ struct _ntc_bkey_259 // bkey violation
+ {
+ ib_net16_t lidaddr;
+ uint8_t method;
+ uint8_t reserved;
+ ib_net16_t attribute_id;
+ ib_net32_t attribute_modifier;
+ ib_net32_t qp; // qp is low 24 bits
+ ib_net64_t bkey;
+ ib_gid_t gid;
+ } PACK_SUFFIX ntc_bkey_259;
} data_details;
ib_gid_t issuer_gid; // 16 80
} PACK_SUFFIX ib_mad_notice_attr_t;
--
1.5.3.7
More information about the general
mailing list