RDMA/core: Enable the iWarp Port Mapper to provide the actual address of the connecti...
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Tue, 21 Apr 2015 20:28:10 +0000 (16:28 -0400)
committerDoug Ledford <dledford@redhat.com>
Tue, 5 May 2015 13:18:01 +0000 (09:18 -0400)
commit6eec177461751f0fe191cf9977cde692b9481d0a
tree0e4eebf1d276bab4714bae1b846b6016f246ad6a
parent4a75a86c8d04390f268d7237cc49fe9a8e36efe7
RDMA/core: Enable the iWarp Port Mapper to provide the actual address of the connecting peer to its clients

Add functionality to enable the port mapper on the passive side to provide to its
clients the actual (non-mapped) ip/tcp address information of the connecting peer

1) Adding remote_info_cb() to process the address info of the connecting peer
   The address info is provided by the user space port mapper service when
   the connection is initiated by the peer
2) Adding a hash list to store the remote address info
3) Adding functionality to add/remove the remote address info
   After the info has been provided to the port mapper client,
   it is removed from the hash list

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/iwpm_msg.c
drivers/infiniband/core/iwpm_util.c
drivers/infiniband/core/iwpm_util.h
include/rdma/iw_portmap.h
include/uapi/rdma/rdma_netlink.h