summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2020-04-26 20:49:57 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2020-04-26 20:49:57 +0000
commitec3d6e9e43f0d249afa492f1e5ce6a25ad736c76 (patch)
tree76ea8866f930f2adfb2973a90fcff1d3cbddee20 /usr.bin
parent30052a1712c14d555295168daf56373a4f674089 (diff)
Map em(4) descriptor rings coherent. This doesn't make a difference on x86,
but on selected ARM64 machines with non-cache-coherent PCIe controllers this makes em(4) work reliably. Without it the network controller's view of the head and tail get out of sync. The reason remains unclear. It could be an issue in our arm64 bus dma code, it could be an issue in the em(4) code, or maybe the hardware itself just doesn't cope well with non-coherent memory. Linux maps them coherent as well, and it might actually be better to map them that way, since otherwise we might spend a lot of time flushing our caches. ok kettenis@ deraadt@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions