tmp_suning_uos_patched/net/rds
Guy Shapiro fa20105e09 IB/cma: Add support for network namespaces
Add support for network namespaces in the ib_cma module. This is
accomplished by:

1. Adding network namespace parameter for rdma_create_id. This parameter is
   used to populate the network namespace field in rdma_id_private.
   rdma_create_id keeps a reference on the network namespace.
2. Using the network namespace from the rdma_id instead of init_net inside
   of ib_cma, when listening on an ID and when looking for an ID for an
   incoming request.
3. Decrementing the reference count for the appropriate network namespace
   when calling rdma_destroy_id.

In order to preserve the current behavior init_net is passed when calling
from other modules.

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>
2015-10-28 12:32:48 -04:00
..
af_rds.c
bind.c
cong.c
connection.c RDS: verify the underlying transport exists before creating a connection 2015-09-09 12:38:30 -07:00
ib_cm.c IB/cma: Add support for network namespaces 2015-10-28 12:32:48 -04:00
ib_rdma.c
ib_recv.c Changes for 4.3 2015-09-09 08:33:31 -07:00
ib_ring.c
ib_send.c Changes for 4.3 2015-09-09 08:33:31 -07:00
ib_stats.c
ib_sysctl.c
ib.c IB/cma: Add support for network namespaces 2015-10-28 12:32:48 -04:00
ib.h Changes for 4.3 2015-09-09 08:33:31 -07:00
info.c
info.h
iw_cm.c IB/cma: Add support for network namespaces 2015-10-28 12:32:48 -04:00
iw_rdma.c
iw_recv.c
iw_ring.c
iw_send.c
iw_stats.c
iw_sysctl.c
iw.c IB/cma: Add support for network namespaces 2015-10-28 12:32:48 -04:00
iw.h
Kconfig
loop.c
loop.h
Makefile
message.c
page.c
rdma_transport.c IB/cma: Add support for network namespaces 2015-10-28 12:32:48 -04:00
rdma_transport.h
rdma.c
rds.h
recv.c
send.c
stats.c
sysctl.c
tcp_connect.c
tcp_listen.c
tcp_recv.c
tcp_send.c
tcp_stats.c
tcp.c
tcp.h
threads.c
transport.c