CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2015/11/08 17:29:06

Modified files:
        sys/dev/pci    : if_age.c if_alc.c if_ale.c if_jme.c 

Log message:
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.

Reply via email to