diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-09-17 20:26:15 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-09-17 20:26:15 +0000 |
commit | 76008af14929770082a9ce88ffea788da2c3266f (patch) | |
tree | ebe96576c268386aced8f80315db2d07229862ac /bin/rmdir | |
parent | 57d09531222ccf0c4d2a3511dd4be67ec3bf557f (diff) |
Overhaul RX path to recover from mbuf cluster allocation failure.
- Create a spare DMA map for RX handler to recover from
bus_dmamap_load() failure.
- Make sure to update status bit in RX descriptors even if we failed
to allocate a new buffer.
- Don't blindly unload DMA map. Reuse loaded DMA map if received
packet has errors.
From yongari@FreeBSD
Tested by myself and a number of end-users on i386/amd64/sparc64
Diffstat (limited to 'bin/rmdir')
0 files changed, 0 insertions, 0 deletions