android_kernel_motorola_sm6225/drivers/infiniband/ulp
Erez Shitrit 7ce1a3ee02 IB/IPoIB: Separate control from HW operation on ipoib_open/stop ndo
This patch is preparing the netdev part at the IPoIB driver to be able
to use the ipoib_options.

It deals with the two flows from the .ndo: ipoib_open and ipoib_stop.

The code is rearranged as follows:
 * All operations which deal with the hardware resources, (for example
   change QP state, post-receive etc.) are performed in one place.
 * All operations that are control oriented (like restart multicast task,
   start the reap_ah etc.) are performed in separate place.

The functions that deal with the hardware resources now located at
__ipoib_ib_dev_open for the ipoib_open flow and __ipoib_ib_dev_stop
for ipoib_stop.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-20 15:19:43 -04:00
..
ipoib IB/IPoIB: Separate control from HW operation on ipoib_open/stop ndo 2017-04-20 15:19:43 -04:00
iser RDMA/iser: Fix possible mr leak on device removal event 2017-03-24 22:31:19 -04:00
isert iser-target: avoid posting a recv buffer twice 2017-03-30 20:35:50 -07:00
opa_vnic IB/opa-vnic: VNIC Ethernet Management Agent (VEMA) function 2017-04-20 12:01:38 -04:00
srp This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
srpt This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
Makefile IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00