freebsd-nq/sys/dev/cxgbe
John Baldwin 6af45170c1 Chelsio T4/T5 VF driver.
The cxgbev/cxlv driver supports Virtual Function devices for Chelsio
T4 and T4 adapters.  The VF devices share most of their code with the
existing PF4 driver (cxgbe/cxl) and as such the VF device driver
currently depends on the PF4 driver.

Similar to the cxgbe/cxl drivers, the VF driver includes a t4vf/t5vf
PCI device driver that attaches to the VF device.  It then creates
child cxgbev/cxlv devices representing ports assigned to the VF.
By default, the PF driver assigns a single port to each VF.

t4vf_hw.c contains VF-specific routines from the shared code used to
fetch VF-specific parameters from the firmware.

t4_vf.c contains the VF-specific PCI device driver and includes its
own attach routine.

VF devices are required to use a different firmware request when
transmitting packets (which in turn requires a different CPL message
to encapsulate messages).  This alternate firmware request does not
permit chaining multiple packets in a single message, so each packet
results in a firmware request.  In addition, the different CPL message
requires more detailed information when enabling hardware checksums,
so parse_pkt() on VF devices must examine L2 and L3 headers for all
packets (not just TSO packets) for VF devices.  Finally, L2 checksums
on non-UDP/non-TCP packets do not work reliably (the firmware trashes
the IPv4 fragment field), so IPv4 checksums for such packets are
calculated in software.

Most of the other changes in the non-VF-specific code are to expose
various variables and functions private to the PF driver so that they
can be used by the VF driver.

Note that a limited subset of cxgbetool functions are supported on VF
devices including register dumps, scheduler classes, and clearing of
statistics.  In addition, TOE is not supported on VF devices, only for
the PF interfaces.

Reviewed by:	np
MFC after:	2 months
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D7599
2016-09-07 18:13:57 +00:00
..
common Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
cxgbei Use correct CTR<n> variant. 2016-09-03 18:54:26 +00:00
firmware cxgbe(4): Provide more details about the card in the sysctl MIB. 2016-08-27 00:13:41 +00:00
iw_cxgbe cxgbe/iw_cxgbe: Various fixes to the iWARP driver. 2016-08-26 17:38:13 +00:00
tom cxgbe/t4_tom: toepcb should be all-zero on allocation because the code 2016-09-05 19:37:47 +00:00
adapter.h Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
if_cxl.c
if_cxlv.c Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
offload.h cxgbe/cxgbei: Retire all DDP related code from cxgbei and switch to 2016-09-01 20:43:01 +00:00
osdep.h cxgbe(4): Remove __devinit and SPEED_<foo> as part of catch up with 2016-03-08 08:13:37 +00:00
t4_if.m Use the port device name for the iov device for Chelsio T4/T5 cards. 2016-08-03 17:11:08 +00:00
t4_ioctl.h cxgbe(4): Create a reusable struct type for scheduling class parameters. 2016-06-06 20:42:46 +00:00
t4_iov.c Use device_verbose() to undo device_quiet() when detaching from t[45]iovX. 2016-08-29 22:47:14 +00:00
t4_l2t.c cxgbe(4): Changes to the CPL-handler registration mechanism and code 2016-07-05 01:29:24 +00:00
t4_l2t.h cxgbe(4): Changes to the CPL-handler registration mechanism and code 2016-07-05 01:29:24 +00:00
t4_main.c Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
t4_mp_ring.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
t4_mp_ring.h
t4_netmap.c Store the offset of the KDOORBELL and GTS registers in the softc. 2016-08-01 22:39:51 +00:00
t4_sge.c Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
t4_tracer.c
t4_vf.c Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00