Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2005 04:17:43 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/em if_em.c if_em.h
Message-ID:  <200511210417.jAL4HhPc093480@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2005-11-21 04:17:43 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/em           if_em.c if_em.h 
  Log:
  busdma cleanup for em(4).
   - don't force busdma to pre-allocate bounce pages for parent tag.
   - use system supplied roundup2 macro instead of rolling its own version.
   - TX/RX decriptor length should be multiple of 128. There is no
     no need to expand the size with the multiple of 4096.
   - don't create/destroy DMA maps in TX/RX handlers. Use pre-allocated
     DMA maps. Since creating DMA maps on sparc64 is time consuming
     operations(resource mananger overhead), this change should boost
     performance on sparc64. I could get > 2x speedup on Ultra60.
   - TX/RX descriptors could be aligned on 128 boundary. Aligning them
     on PAGE_SIZE is waste of resource.
   - don't blindly create TX DMA tag with size of MCLBYTES * 8. The size
     is only valid under jumbo frame environments. Instead of using the
     hardcoded value, re-compute necessary size on the fly.
   - RX side bus_dmamap_load_mbuf_sg(9) support.
   - remove unused macro EM_ROUNDUP and constant EM_MMBA.
  
  Reviewed by:    scottl
  Tested by:      glebius
  
  Revision  Changes    Path
  1.88      +121 -83   src/sys/dev/em/if_em.c
  1.40      +6 -3      src/sys/dev/em/if_em.h



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