diff options
author | Sean Hefty <sean.hefty@intel.com> | 2009-11-19 15:55:22 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-11-19 15:55:22 -0500 |
commit | 6266ed6e4164466177238b11ecb825a3a108a3e4 (patch) | |
tree | 6960dcaeb66aa368b8e856022b8aafb81b255428 /include/rdma | |
parent | e2e626972e652d18520f84d69fc06cfa307d11ff (diff) |
RDMA/cma: Replace net_device pointer with index
Provide the device interface when resolving route information to
ensure that the correct outbound device is used. This will also
simplify processing of sin6_scope_id for IPv6 support.
Based on work from:
David Wilder <dwilder@us.ibm.com>
Jason Gunthorpe <jgunthrope@obsidianresearch.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_addr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_addr.h b/include/rdma/ib_addr.h index 483057b2f4b4..27f17cc2c919 100644 --- a/include/rdma/ib_addr.h +++ b/include/rdma/ib_addr.h | |||
@@ -61,7 +61,7 @@ struct rdma_dev_addr { | |||
61 | unsigned char dst_dev_addr[MAX_ADDR_LEN]; | 61 | unsigned char dst_dev_addr[MAX_ADDR_LEN]; |
62 | unsigned char broadcast[MAX_ADDR_LEN]; | 62 | unsigned char broadcast[MAX_ADDR_LEN]; |
63 | enum rdma_node_type dev_type; | 63 | enum rdma_node_type dev_type; |
64 | struct net_device *src_dev; | 64 | int bound_dev_if; |
65 | }; | 65 | }; |
66 | 66 | ||
67 | /** | 67 | /** |