CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/01/23 22:33:11
Modified files:
sys/dev/ic : bcmgenet.c
Log message:
Do the TX ring space check before packet dequeue. The early check
removes possible bus_dmamap_unload() and dequeue rollback in the output
path.
Also set the maximum TX segments count to 20. jmatthew@ pointed that
existing value of 128 is too big. I checked others and found, that NetBSD
uses 128 as we do and FreeBSD uses 20, so I used 20. May be this value is
also too big, but it could be decreased at any moment.
Tested on RPI4.
ok jmatthew@