cvs commit: src/sys/dev/stge if_stge.c

Pyun YongHyeon yongari at FreeBSD.org
Fri Jan 18 00:32:10 PST 2008


yongari     2008-01-18 08:32:09 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/stge         if_stge.c 
  Log:
  Use m_collapse(9) to collapse mbuf chains instead of relying on
  shortest possible chain of mbufs of m_defrag(9). What we want is
  chains of mbufs that can be safely stored to a Tx descriptor which
  can have up to STGE_MAXTXSEGS mbufs. The ethernet controller does
  not need to align Tx buffers on 32bit boundary. So the use of
  m_defrag(9) was waste of time.
  
  Revision  Changes    Path
  1.12      +1 -1      src/sys/dev/stge/if_stge.c


More information about the cvs-src mailing list