Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2006 07:41:02 +0000 (UTC)
From:      Mike Silbersack <silby@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h
Message-ID:  <200605040741.k447f23o027971@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
silby       2006-05-04 07:41:02 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/bfe          if_bfe.c if_bfereg.h 
  Log:
  Fix three more bugs in bfe:
  
  - Fix bfe_encap so that it will pass the address of the mbuf back up to its
    caller if/when it modifies it, as it does when doing a m_defrag on a mbuf chain.
  - Make sure to unload the dmamap for ALL fragments of a packet, not just the first
  - Use BUS_DMA_NOWAIT for all bus_dmamap_load calls so that the allocation of the
    map is not delayed - this driver is not set up to handle such delays.
  - Reduce the number of RX and TX buffers bfe uses so that it does not use more
    bounce buffers than busdma is willing to allow it to use
  
  With these changes, the driver now works properly for a user with a 2GB system,
  and it also works on my system when the acceptable address range is lowered to 128MB.
  Previously, both of these setups would act up after a few minutes of activity.
  
  Revision  Changes    Path
  1.37      +20 -15    src/sys/dev/bfe/if_bfe.c
  1.8       +2 -2      src/sys/dev/bfe/if_bfereg.h



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