cvs commit: src/sys/dev/mxge if_mxge.c
Andrew Gallatin
gallatin at FreeBSD.org
Wed Jun 14 19:32:02 UTC 2006
gallatin 2006-06-14 19:32:01 UTC
FreeBSD src repository
Modified files:
sys/dev/mxge if_mxge.c
Log:
Much to my surprise, IFQ_DRV_DEQUEUE() can return a null mbuf even if
!IFQ_DRV_IS_EMPTY(). Taking this into account, I re-structured the
transmit routine so as to avoid adding another if/then in the
critical path.
Thanks to brueffer for showing my how to test with altq/pf.
Revision Changes Path
1.6 +11 -13 src/sys/dev/mxge/if_mxge.c
More information about the cvs-src
mailing list