opnsense-src/sys/dev/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
..
common cxgbe(4): figure out the max payload size and save it for later. 2014-11-19 20:16:56 +00:00
firmware cxgbe(4): adjust PMRX and PMTX parameters. 2014-11-10 19:45:28 +00:00
iw_cxgbe cxgbe(4): tidy up some of the interaction between the Upper Layer 2015-02-08 09:28:55 +00:00
tom cxgbe(4): tidy up some of the interaction between the Upper Layer 2015-02-08 09:28:55 +00:00
adapter.h cxgbe(4): tidy up some of the interaction between the Upper Layer 2015-02-08 09:28:55 +00:00
if_cxl.c cxgbe(4): Add a minimal if_cxl module that pulls in the real driver as 2015-02-06 01:10:04 +00:00
offload.h cxgbe(4): tidy up some of the interaction between the Upper Layer 2015-02-08 09:28:55 +00:00
osdep.h Add hooks in base cxgbe(4) for the iWARP upper-layer driver. Update a 2013-08-28 20:45:45 +00:00
t4_ioctl.h cxgbe(4): T4_SET_SCHED_CLASS and T4_SET_SCHED_QUEUE ioctls to program 2013-12-03 18:34:52 +00:00
t4_l2t.c cxgbe(4): major tx rework. 2014-12-31 23:19:16 +00:00
t4_l2t.h cxgbe(4): Updates to the hardware L2 table management code. 2013-01-14 20:36:22 +00:00
t4_main.c cxgbe(4): tidy up some of the interaction between the Upper Layer 2015-02-08 09:28:55 +00:00
t4_mp_ring.c Allow cxgbe(4) to be built on i386. Driver attach will succeed only on a subset 2015-01-16 01:32:40 +00:00
t4_mp_ring.h cxgbe(4): major tx rework. 2014-12-31 23:19:16 +00:00
t4_netmap.c Whitespace nit. 2014-09-09 18:36:00 +00:00
t4_sge.c cxgbe(4): major tx rework. 2014-12-31 23:19:16 +00:00
t4_tracer.c cxgbe(4): Remove stray if_up from the code that creates the tracing ifnet. 2014-05-23 01:45:44 +00:00