aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHaggai Eran <haggaie@mellanox.com>2015-07-30 17:50:19 +0300
committerDoug Ledford <dledford@redhat.com>2015-08-30 15:48:22 -0400
commit0c505f70a28d943e15a6702ca75bea4f332a03ed (patch)
tree108dfcec29545712dd4b9672e062b03a645eff14 /include
parentIB/cm: Share listening CM IDs (diff)
downloadlinux-dev-0c505f70a28d943e15a6702ca75bea4f332a03ed.tar.xz
linux-dev-0c505f70a28d943e15a6702ca75bea4f332a03ed.zip
IB/cma: Refactor RDMA IP CM private-data parsing code
When receiving a connection request, rdma_cm needs to associate the request with a network device, in order to disambiguate requests. To do this, it needs to know the request's destination IP. For this the module needs to allow getting this information from the private data in the request packet, instead of relying on the information already being in the listening RDMA CM ID. When creating a new incoming connection ID, the code in cma_save_ip{4,6}_info can no longer rely on the listener's private data to find the port number, so it reads it from the requested service ID. Signed-off-by: Guy Shapiro <guysh@mellanox.com> Signed-off-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Yotam Kenneth <yotamke@mellanox.com> Signed-off-by: Shachar Raindel <raindel@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions