freebsd-skq/sys/dev/age
Pyun YongHyeon 9bdff6fffa TSO engine of L1 requires a separate DMA descriptor for TCP
payload.  This means driver has to split a TX buffer into two
pieces of TX buffers when the TX buffer contains both
ethernet/IP/TCP header and partial TCP payload.  The controller
does not require all header should be in a TX buffer but driver
forced it to compute IP/TCP header size/offset which is required
parameter to configure DMA descriptor for TSO.
While here, slightly reorder DMA descriptor setup to enhance
readability and remove unnecessary code for TSO(upper stack never
requests TSO when the frame length is less than or equal to MTU).

Reported by:	Yamagi Burmeister <lists <> yamagi dot org>
Tested by:	Yamagi Burmeister <lists <> yamagi dot org>
MFC After:	1 week
2012-10-30 07:55:03 +00:00
..
if_age.c TSO engine of L1 requires a separate DMA descriptor for TCP 2012-10-30 07:55:03 +00:00
if_agereg.h
if_agevar.h Add a 'locked' variant of the foo_start() routine and call it directly 2011-01-03 18:28:30 +00:00