aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/ib.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/ib.c')
-rw-r--r--net/rds/ib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/rds/ib.c b/net/rds/ib.c
index 536ebe5d3f6b..8f2d6dd7700a 100644
--- a/net/rds/ib.c
+++ b/net/rds/ib.c
@@ -37,6 +37,7 @@
37#include <linux/inetdevice.h> 37#include <linux/inetdevice.h>
38#include <linux/if_arp.h> 38#include <linux/if_arp.h>
39#include <linux/delay.h> 39#include <linux/delay.h>
40#include <linux/slab.h>
40 41
41#include "rds.h" 42#include "rds.h"
42#include "ib.h" 43#include "ib.h"
@@ -182,8 +183,8 @@ static int rds_ib_conn_info_visitor(struct rds_connection *conn,
182 ic = conn->c_transport_data; 183 ic = conn->c_transport_data;
183 dev_addr = &ic->i_cm_id->route.addr.dev_addr; 184 dev_addr = &ic->i_cm_id->route.addr.dev_addr;
184 185
185 ib_addr_get_sgid(dev_addr, (union ib_gid *) &iinfo->src_gid); 186 rdma_addr_get_sgid(dev_addr, (union ib_gid *) &iinfo->src_gid);
186 ib_addr_get_dgid(dev_addr, (union ib_gid *) &iinfo->dst_gid); 187 rdma_addr_get_dgid(dev_addr, (union ib_gid *) &iinfo->dst_gid);
187 188
188 rds_ibdev = ib_get_client_data(ic->i_cm_id->device, &rds_ib_client); 189 rds_ibdev = ib_get_client_data(ic->i_cm_id->device, &rds_ib_client);
189 iinfo->max_send_wr = ic->i_send_ring.w_nr; 190 iinfo->max_send_wr = ic->i_send_ring.w_nr;