aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/include/ib_mad.h
diff options
context:
space:
mode:
authorHal Rosenstock <halr@voltaire.com>2005-07-27 14:45:34 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 19:26:12 -0400
commit513789ed995fb2ba72ba2a5bee53ea11d1170580 (patch)
treefa9a4e73b9420a06af37290ba6ae405200dd0935 /drivers/infiniband/include/ib_mad.h
parentcabe3cbcbb3b09637b9e706c49eadb180fca057e (diff)
[PATCH] IB: Add ib_create_ah_from_wc to IB verbs
Added new call: ib_create_ah_from_wc. Call will allocate an address handle given work completion information, including any received GRH. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Hal Rosenstock <halr@voltaire.com> Cc: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/include/ib_mad.h')
-rw-r--r--drivers/infiniband/include/ib_mad.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/infiniband/include/ib_mad.h b/drivers/infiniband/include/ib_mad.h
index c5f3170c59ef..817e932c79c0 100644
--- a/drivers/infiniband/include/ib_mad.h
+++ b/drivers/infiniband/include/ib_mad.h
@@ -77,15 +77,6 @@
77#define IB_QP1_QKEY 0x80010000 77#define IB_QP1_QKEY 0x80010000
78#define IB_QP_SET_QKEY 0x80000000 78#define IB_QP_SET_QKEY 0x80000000
79 79
80struct ib_grh {
81 u32 version_tclass_flow;
82 u16 paylen;
83 u8 next_hdr;
84 u8 hop_limit;
85 union ib_gid sgid;
86 union ib_gid dgid;
87} __attribute__ ((packed));
88
89struct ib_mad_hdr { 80struct ib_mad_hdr {
90 u8 base_version; 81 u8 base_version;
91 u8 mgmt_class; 82 u8 mgmt_class;