Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2006 19:32:01 +0000 (UTC)
From:      Andrew Gallatin <gallatin@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/mxge if_mxge.c
Message-ID:  <200606141932.k5EJW1RM032245@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606141932.k5EJW1RM032245>