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
..
2017-03-12 23:47:16 -07:00
2017-02-23 15:57:04 -08:00
2017-03-23 16:08:46 -07:00
2017-03-10 19:56:56 -08:00
2017-03-24 13:34:16 -07:00
2017-03-06 08:37:53 -08:00
2017-02-21 11:51:42 -08:00
2017-03-26 11:15:54 -07:00
2017-02-22 19:23:14 -08:00
2017-03-13 13:23:43 -07:00
2017-03-20 16:25:06 +01:00
2017-02-20 17:23:57 -08:00
2017-02-23 15:57:04 -08:00
2017-03-24 14:39:36 -07:00
2017-02-23 11:53:22 -08:00