diff options
author | cognet <cognet@FreeBSD.org> | 2005-10-18 00:42:10 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-10-18 00:42:10 +0000 |
commit | f5ba28afbc93209bb90dcd56e7c7fd02b1528a9c (patch) | |
tree | 3c2d6ea5eed101afaddc6222e10e73dc04c0015a /usr.sbin/pmcstat | |
parent | 582450507b863205a7b5152dddccfd76af65eab2 (diff) | |
download | FreeBSD-src-f5ba28afbc93209bb90dcd56e7c7fd02b1528a9c.zip FreeBSD-src-f5ba28afbc93209bb90dcd56e7c7fd02b1528a9c.tar.gz |
- Use BUS_DMASYNC_PREWRITE in em_get_buf(), as the adapter is about to read
the descriptors set.
- In em_process_receive_interrupts(), call bus_dmamap_sync() for the
descriptors set each time we modify one descriptor, instead of doing it only
at the function exit, to make sure the adapters know he can re-use the
descriptor.
This helps on arm with write-back data cache (and possibly on other arches
with bounce pages, I don't know) under heavy network load. Without this,
if we attempt to process more than num_rx_desc descriptors, the adapter
would just stop processing rx interrupts.
Diffstat (limited to 'usr.sbin/pmcstat')
0 files changed, 0 insertions, 0 deletions