linux/drivers/infiniband/ulp/ipoib
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_cm.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
ipoib_ethtool.c IB/IPoIB: Switch from dma_device to dev.parent 2017-01-24 12:26:17 -05:00
ipoib_fs.c IB/IPoIB: ibX: failed to create mcg debug file 2017-04-05 13:47:24 -04:00
ipoib_ib.c IB/IPoIB: Separate control from HW operation on ipoib_open/stop ndo 2017-04-20 15:19:43 -04:00
ipoib_main.c IB/IPoIB: Separate control from HW operation on ipoib_open/stop ndo 2017-04-20 15:19:43 -04:00
ipoib_multicast.c IB/ipoib: Remove the unnecessary error check 2017-01-24 16:22:24 -05:00
ipoib_netlink.c infiniband: make sure the src net is infiniband when create new link 2014-01-03 20:38:56 -05:00
ipoib_verbs.c IB/IPoIB: Separate control and data related initializations 2017-04-20 15:19:42 -04:00
ipoib_vlan.c IB/IPoIB: ibX: failed to create mcg debug file 2017-04-05 13:47:24 -04:00
ipoib.h IB/IPoIB: Separate control from HW operation on ipoib_open/stop ndo 2017-04-20 15:19:43 -04:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile IB/ipoib: Add rtnl_link_ops support 2012-09-20 16:49:17 -04:00