aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/ipoib/ipoib.h
diff options
context:
space:
mode:
authorSean Hefty <sean.hefty@intel.com>2007-08-02 15:21:31 -0400
committerRoland Dreier <rolandd@cisco.com>2007-10-09 22:59:11 -0400
commit81668838c4583b19276b16382e0c61e21ef5adf0 (patch)
treeeae4f3250ea914332ed4e46ddbd267b858bedd4c /drivers/infiniband/ulp/ipoib/ipoib.h
parent08c283ac262d7ab21c5733ff469ff88985381ca9 (diff)
IPoIB: Specify Traffic Class with path record queries for QoS support
To support QoS within and between subnets, modify IPoIB to request specific Traffic Class values with path record queries, using the value associated with the IPoIB broadcast group. Signed-off-by: Sean Hefty <sean.hefty@intel.com> [ See some comments I made on this at v1 and v2 of the posts <http://lists.openfabrics.org/pipermail/general/2007-August/039275.html> <http://lists.openfabrics.org/pipermail/general/2007-September/040312.html> ] Reviewed-by: Or Gerlitz <ogerlitz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h
index 285c143115cc..fc16bced8e54 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib.h
+++ b/drivers/infiniband/ulp/ipoib/ipoib.h
@@ -113,7 +113,27 @@ struct ipoib_pseudoheader {
113 u8 hwaddr[INFINIBAND_ALEN]; 113 u8 hwaddr[INFINIBAND_ALEN];
114}; 114};
115 115
116struct ipoib_mcast; 116/* Used for all multicast joins (broadcast, IPv4 mcast and IPv6 mcast) */
117struct ipoib_mcast {
118 struct ib_sa_mcmember_rec mcmember;
119 struct ib_sa_multicast *mc;
120 struct ipoib_ah *ah;
121
122 struct rb_node rb_node;
123 struct list_head list;
124
125 unsigned long created;
126 unsigned long backoff;
127
128 unsigned long flags;
129 unsigned char logcount;
130
131 struct list_head neigh_list;
132
133 struct sk_buff_head pkt_queue;
134
135 struct net_device *dev;
136};
117 137
118struct ipoib_rx_buf { 138struct ipoib_rx_buf {
119 struct sk_buff *skb; 139 struct sk_buff *skb;