summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ydsvar.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-11-09 00:29:07 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-11-09 00:29:07 +0000
commit0d86db08091aec725d213488e002e692ae87610f (patch)
tree842b84c10208a30f61622b75e65e9c8740631c9d /sys/dev/pci/ydsvar.h
parentd1a8c3966d4b13ef9211587439a4896144eafcf1 (diff)
rework the start routines to avoid IF_PREPEND.
IF_PREPEND assumes the underlying send queue is priq, while hfsc may be enabled on it. the previous code pattern to DEQUEUE, try and encap the mbuf on the ring, and if that failed cos there was no space it would PREPEND it. now it checks for space on the ring before it attempts to DEQUEUE. failure to encap means the mbuf is now unconditionally dropped.
Diffstat (limited to 'sys/dev/pci/ydsvar.h')
0 files changed, 0 insertions, 0 deletions