freebsd-dev/sys/dev/cxgbe/iw_cxgbe
Navdeep Parhar b3d44a6800 cxgbe(4): tidy up some of the interaction between the Upper Layer
Drivers (ULDs) and the base if_cxgbe driver.

Track the per-adapter activation of ULDs in a new "active_ulds" field.
This was done pretty arbitrarily before this change -- via TOM_INIT_DONE
in adapter->flags for TOM, and the (1 << MAX_NPORTS) bit in
adapter->offload_map for iWARP.

iWARP and hw-accelerated iSCSI rely on the TOE (supported by the TOM
ULD).  The rules are:
a) If the iWARP and/or iSCSI ULDs are available when TOE is enabled then
   iWARP and/or iSCSI are enabled too.
b) When the iWARP and iSCSI modules are loaded they go looking for
   adapters with TOE enabled and enable themselves on that adapter.
c) You cannot deactivate or unload the TOM module from underneath iWARP
   or iSCSI.  Any such attempt will fail with EBUSY.

MFC after:	2 weeks
2015-02-08 09:28:55 +00:00
..
cm.c cxgbe/iw_cxgbe: fix whitespace nit in r277102. 2015-01-13 16:18:31 +00:00
cq.c
device.c cxgbe(4): tidy up some of the interaction between the Upper Layer 2015-02-08 09:28:55 +00:00
ev.c
id_table.c
iw_cxgbe.h Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
mem.c
provider.c In cxgbe, conditionalize the t4_pgprot_wc() function, since it is only 2014-02-14 23:38:42 +00:00
qp.c cxgbe/iw_cxgbe: wake up waiters after flushing the qp. 2014-10-22 18:55:44 +00:00
resource.c
t4.h
user.h