Raise transmit threshold to 512 bytes. This makes dwqe(4) work at
authorkettenis <kettenis@openbsd.org>
Mon, 7 Aug 2023 20:28:47 +0000 (20:28 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 7 Aug 2023 20:28:47 +0000 (20:28 +0000)
commite8974f33dbfeb71e492ea3b1ce2ae7f030c293f0
treeef39257f6f8f768b99558c08f2de7db1d9b00cfb
parent3342c5b5e14d3357186dec2ce685a8dbeb101e14
Raise transmit threshold to 512 bytes.  This makes dwqe(4) work at
1000baseT.  We still see a small number of underflow errors when hammering
the interface with packets, but it is defenitely usable.

While there, make sure we count transmit errors.

ok jmatthew@
sys/dev/ic/dwqe.c