Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2005 00:42:11 +0000 (UTC)
From:      Olivier Houchard <cognet@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
Message-ID:  <200510180042.j9I0gBCr016942@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cognet      2005-10-18 00:42:10 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/em           if_em.c 
  Log:
  - Use BUS_DMASYNC_PREWRITE in em_get_buf(), as the adapter is about to read
  the descriptors set.
  - In em_process_receive_interrupts(), call bus_dmamap_sync() for the
  descriptors set each time we modify one descriptor, instead of doing it only
  at the function exit, to make sure the adapters know he can re-use the
  descriptor.
  This helps on arm with write-back data cache (and possibly on other arches
  with bounce pages, I don't know) under heavy network load. Without this,
  if we attempt to process more than num_rx_desc descriptors, the adapter
  would just stop processing rx interrupts.
  
  Revision  Changes    Path
  1.78      +4 -3      src/sys/dev/em/if_em.c



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