diff options
author | yongari <yongari@FreeBSD.org> | 2012-10-30 07:55:03 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2012-10-30 07:55:03 +0000 |
commit | 730fb9d66a265a556977aeb09ba87ab28e754cba (patch) | |
tree | b805417a375a645c28d4599b1d15d0944f9d035d /usr.sbin/pw/pw.8 | |
parent | 8b95820a21db4bfeba89d4aa9297106d47c08f53 (diff) | |
download | FreeBSD-src-730fb9d66a265a556977aeb09ba87ab28e754cba.zip FreeBSD-src-730fb9d66a265a556977aeb09ba87ab28e754cba.tar.gz |
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
Diffstat (limited to 'usr.sbin/pw/pw.8')
0 files changed, 0 insertions, 0 deletions