cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h

Mike Silbersack silby at FreeBSD.org
Thu May 4 07:41:03 UTC 2006


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


More information about the cvs-src mailing list