diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2015-11-28 22:57:44 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2015-11-28 22:57:44 +0000 |
commit | d1fdce91a1eecab8f540e12ab64d1924f0c81487 (patch) | |
tree | 462ae2404671997f88800436149bb91986b9f048 /usr.sbin/bind | |
parent | 7503f92842d2a6318431de08695dab17cf7f5644 (diff) |
rework dc_start and dc_encap to take advantage of m_defrag.
if the chip needs coalesced packages in tx, set the tx dmamaps up
to only use a single dma descriptor. use m_defrag when bus_dmamap_load_mbuf
returns EFBIG rather than copying the packet to a separate mbuf
with hand rolled code in dc_coal. that in turn makes the ifq_deq_begin,
ifq_deq_commit, and ifq_deq_rollback handling more straightforward.
tested by me on a hppa a180c with a "DEC 21142/3", and fred on bugs@
with a sparc64 netra x1 "Davicom DM9102".
Diffstat (limited to 'usr.sbin/bind')
0 files changed, 0 insertions, 0 deletions