try harder to leave a gap on the tx ring.
authordlg <dlg@openbsd.org>
Mon, 12 Aug 2024 06:47:11 +0000 (06:47 +0000)
committerdlg <dlg@openbsd.org>
Mon, 12 Aug 2024 06:47:11 +0000 (06:47 +0000)
commit4ba1d670a473fc8c0d7e96e5a67f791be6dca38d
tree9952d021c829348489d020a2d3fb95ada368664a
parent124424f182104aa083ab58e02a3302af40072086
try harder to leave a gap on the tx ring.

i think before this change we could overwrite entries on the ring,
which can confuse the chip and the tx completion code. i think.
it's funny how much a comparison hurts my brain.

ok patrick@
tested by and ok kevlo@
sys/dev/ic/re.c
sys/dev/pci/if_rge.c