Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2003 06:46:31 -0800 (PST)
From:      Bosko Milekic <bmilekic@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_xl.c
Message-ID:  <200302221446.h1MEkVWF057648@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bmilekic    2003/02/22 06:46:31 PST

  Modified files:
    sys/pci              if_xl.c 
  Log:
  Make xl use m_getcl() to allocate an mbuf and a cluster in one shot,
  as opposed to one after the other.  This is faster in both -CURRENT
  and -STABLE.  Additionally, there is less code duplication for
  error-checking.
  
  One thing to note is that this code seems to return(1) when no buffers
  are available; perhaps ENOBUFS should be the correct return value?
  
  Partially submitted & tested by: Hiten Pandya <hiten@unixdaemons.com>
  MFC after: 1 week
  
  Revision  Changes    Path
  1.130     +5 -19     src/sys/pci/if_xl.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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