linux/drivers/infiniband
Jason Gunthorpe eaeb398425 IB/ipoib: Move init code to ndo_init
Now that we have a proper ndo_uninit, move code that naturally pairs
with the ndo_uninit into ndo_init. This allows the netdev core to natually
handle ordering.

This fixes the situation where register_netdev can fail before calling
ndo_init, in which case it wouldn't call ndo_uninit either.

Also move a bunch of duplicated init code that is shared between child
and parent for clarity. Now the child and parent register functions look
very similar.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2018-08-02 20:27:43 -06:00
..
core IB/uverbs: Allow all DESTROY commands to succeed after disassociate 2018-08-01 14:55:48 -06:00
hw iw_cxgb4: Support FW write completion WR 2018-08-02 20:16:02 -06:00
sw RDMA/providers: Fix return value from create_srq callbacks 2018-07-30 20:29:45 -06:00
ulp IB/ipoib: Move init code to ndo_init 2018-08-02 20:27:43 -06:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile