diff options
author | Haggai Eran <haggaie@mellanox.com> | 2015-07-30 14:50:19 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-08-30 19:48:22 (GMT) |
commit | 0c505f70a28d943e15a6702ca75bea4f332a03ed (patch) | |
tree | 108dfcec29545712dd4b9672e062b03a645eff14 /drivers/pci/proc.c | |
parent | 067b171b8679f99e170feae2e1d2eae319736420 (diff) | |
download | linux-0c505f70a28d943e15a6702ca75bea4f332a03ed.tar.xz |
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 'drivers/pci/proc.c')
0 files changed, 0 insertions, 0 deletions