freebsd-skq/sys/ofed
Hans Petter Selasky 1529133ab3 Mark ipoib device as initialized on device open.
Set the IPOIB_FLAG_INITIALIZED on dev_open and clear it on dev_stop to
avoid a race between ipoib load and the underlying device driver.

The device module must dispatch the IB_EVENT_PORT_ACTIVE event before ipoib
module is loaded. Otherwise, the flush will fail since no one set the
IPOIB_FLAG_INITIALIZED.

Submitted by:	Slava Shwartsman <slavash@mellanox.com>
Sponsored by:	Mellanox Technologies
MFC after:	1 week
2017-11-10 08:58:42 +00:00
..
drivers/infiniband Mark ipoib device as initialized on device open. 2017-11-10 08:58:42 +00:00
include/rdma Multiple fixes for using IPv6 link-local addresses with RDMA in ibcore. 2017-11-09 19:22:43 +00:00