Reduce high limit of dwqe(4) receive ring by one.
authorbluhm <bluhm@openbsd.org>
Mon, 4 Mar 2024 23:50:20 +0000 (23:50 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 4 Mar 2024 23:50:20 +0000 (23:50 +0000)
commitf51cb083d3064a23e5031c74dcadc7b08c31b16a
treed3ae0510e6aabe35db358d07975aee5fe7a1799d
parent35c0087fb42cd806b6becf122130e842fd622c31
Reduce high limit of dwqe(4) receive ring by one.

To avoid confusion between the head and tail pointer, leave a gap
in dwqe(4) receive descriptors.  This prevents a situation when no
RX interrupts are received.

from gerhard@; OK kettenis@ dlg@
sys/dev/ic/dwqe.c