summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-10-30 22:55:41 +0000
committeradrian <adrian@FreeBSD.org>2015-10-30 22:55:41 +0000
commitea415f2530c9870200e69a1f93ebc3f69c3cf919 (patch)
tree3903c11f96e7e05744e855cf110ae76de19bade4 /lib/libc/stdlib/labs.c
parent22eed60ca37ae4c72b6237088bf88335e7839104 (diff)
downloadFreeBSD-src-ea415f2530c9870200e69a1f93ebc3f69c3cf919.zip
FreeBSD-src-ea415f2530c9870200e69a1f93ebc3f69c3cf919.tar.gz
arge: ensure there's enough space in the TX ring before attempting to
send frames. This matches the other check for space. "enough" is a misnomer, for "reasons". The biggest reason is that the TX ring is actually a circular linked list, with no head/tail pointers. This is just a bit more headroom between head/tail so we have time to schedule frames before we hit where the hardware is at. Ideally this would be tunable and a little larger.
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud