]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Add wait/retry version of ibnl_unicast
authorIsmail, Mustafa <mustafa.ismail@intel.com>
Wed, 28 Jun 2017 14:02:45 +0000 (09:02 -0500)
committerLeon Romanovsky <leon@kernel.org>
Wed, 9 Aug 2017 13:08:27 +0000 (16:08 +0300)
commit7e5410b677a92ad0b7a472863b5b6ca5680257d0
treeba825bb42162e4ef38a3db80fb1216b70d392290
parent79186686a226ff6aa4ce1e8fda51c4ce3b601d7a
RDMA/core: Add wait/retry version of ibnl_unicast

Add a wait/retry version of ibnl_unicast, ibnl_unicast_wait,
and modify ibnl_unicast to not wait/retry.  This eliminates
the undesirable wait for future users of ibnl_unicast.

Change Portmapper calls originating from kernel to user-space
to use ibnl_unicast_wait and take advantage of the wait/retry
logic in netlink_unicast.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Chien Tin Tung <chien.tin.tung@intel.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/iwpm_msg.c
drivers/infiniband/core/netlink.c
include/rdma/rdma_netlink.h