]> git.baikalelectronics.ru Git - kernel.git/commit
IB/addr: Store net_device type instead of translating to RDMA transport
authorSean Hefty <sean.hefty@intel.com>
Thu, 19 Nov 2009 20:57:18 +0000 (12:57 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Nov 2009 20:57:18 +0000 (12:57 -0800)
commit01cd50cfca7f2246b899fdc71a18fb529a2fa207
tree12a74b92f3b00c8d515811e131c850402cd1588a
parent2b4ff2198b86aedc923fcf7e1e95f9b928197119
IB/addr: Store net_device type instead of translating to RDMA transport

The struct rdma_dev_addr stores net_device address information:
the source device address, destination hardware address, and
broadcast address.  For consistency, store the net_device type
rather than converting it to the rdma_node_type.

The type indicates the format of the various hardware addresses,
which is what we're concerned with, and not the RDMA node type
that the address may map to.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/addr.c
drivers/infiniband/core/cma.c
include/rdma/ib_addr.h