diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2017-11-17 03:51:33 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2017-11-17 03:51:33 +0000 |
commit | 29593120223174d2c2f70f14f088583b951e6d7c (patch) | |
tree | 79c5d1a6295e16088ef3a7c145f7a4aa61657819 /sys/arch/i386/include | |
parent | 687f671095008cde118c98943031f0c6ed246778 (diff) |
add if_rxr_livelocked so rxr users can request backpressure themselves.
right now the rx ring moderation code makes a decision globally
that a machine is livelocked, and uses that to apply backpressure
on all the rx rings. we're moving toward having the network stack
run on multiple cpus, and fed from multiple rx rings. if_rxr_livelocked
lets a driver apply backpressure explicitely if something tells it
that whatever is consuming previous packets cannot keep up.
while here expose the current ring watermark with if_rxr_cwm.
tweaks and ok visa@
Diffstat (limited to 'sys/arch/i386/include')
0 files changed, 0 insertions, 0 deletions