summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2015-02-08 09:28:55 +0000
committernp <np@FreeBSD.org>2015-02-08 09:28:55 +0000
commitf975fdf49432296cbb28bc269ba1d1c220e549de (patch)
treec06984053af830f0f5c6f929ac0be9c886a9907e /contrib/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
parentc3605e4a62233887153dd9a182e85b3148e0a99c (diff)
downloadFreeBSD-src-f975fdf49432296cbb28bc269ba1d1c220e549de.zip
FreeBSD-src-f975fdf49432296cbb28bc269ba1d1c220e549de.tar.gz
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
Diffstat (limited to 'contrib/llvm/lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud