freebsd-nq/sys/dev/cxgbe/iw_cxgbe
Navdeep Parhar 671bf2b8b2 cxgbe(4): Changes to the CPL-handler registration mechanism and code
related to "shared" CPLs.

a) Combine t4_set_tcb_field and t4_set_tcb_field_rpl into a single
function.  Allow callers to direct the response to any iq.  Tidy up
set_ulp_mode_iscsi while there to use names from t4_tcb.h instead of
magic constants.

b) Remove all CPL handler tables from struct adapter.  This reduces its
size by around 2KB.  All handlers are now registered at MOD_LOAD instead
of attach or some kind of initialization/activation.  The registration
functions do not need an adapter parameter any more.

c) Add per-iq handlers to deal with CPLs whose destination cannot be
determined solely from the opcode.  There are 2 such CPLs in use right
now: SET_TCB_RPL and L2T_WRITE_RPL.  The base driver continues to send
filter and L2T_WRITEs over the mgmtq and solicits the reply on fwq.
t4_tom (including the DDP code) now uses the port's ctrlq to send
L2T_WRITEs and SET_TCB_FIELDs and solicits the reply on an ofld_rxq.
fwq and ofld_rxq have different handlers that know what kind of tid to
expect in the reply.  Update t4_write_l2e and callers to to support any
wrq/iq combination.

Approved by:	re@ (kib@)
Sponsored by:	Chelsio Communications
2016-07-05 01:29:24 +00:00
..
cm.c cxgbe(4): Changes to the CPL-handler registration mechanism and code 2016-07-05 01:29:24 +00:00
cq.c iw_cxgbe/libcxgb4: Pull in many applicable fixes from the upstream Linux 2016-03-21 00:29:45 +00:00
device.c cxgbe(4): Changes to the CPL-handler registration mechanism and code 2016-07-05 01:29:24 +00:00
ev.c iw_cxgbe: Fix panic that occurs when c4iw_ev_handler tries to acquire 2016-06-01 18:46:54 +00:00
id_table.c
iw_cxgbe.h cxgbe(4): Changes to the CPL-handler registration mechanism and code 2016-07-05 01:29:24 +00:00
mem.c Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
provider.c Prepare for activation of LinuxKPI module parameters as read-only 2016-05-25 12:03:21 +00:00
qp.c Forward declare 'struct cpl_set_tcb_rpl' before including t4_tom.h. 2016-05-10 03:32:22 +00:00
resource.c iw_cxgbe: Use vmem(9) to manage PBL and RQT allocations. 2016-05-27 21:26:26 +00:00
t4.h iw_cxgbe/libcxgb4: Pull in many applicable fixes from the upstream Linux 2016-03-21 00:29:45 +00:00
user.h iw_cxgbe/libcxgb4: Pull in many applicable fixes from the upstream Linux 2016-03-21 00:29:45 +00:00